Commit graph

4 commits

Author SHA1 Message Date
Charlie Gordon
7b803ace0e Improve syntax coloring APIs
* pass const `char32_t` array and `QETermStyle` array to `ColorizeFunc`
* add `cp_colorize_line()` wrapper to call colorizer function on null
  terminated buffer.
* remove unused `EditBuffer` colorize fields
* remove `EditState` field `colorize_func`: rely on `colorize_mode` only
* no longer combine style into codepoint buffer.
* remove `STYLE_BITS`, `STYLE_SHIFT`, `CHAR_MASK`
* rename `set_colorize_func` as `set_colorize_mode`
* rename `SET_COLOR` and `SET_COLOR1` as `SET_STYLE` and `SET_STYLE1`
* add documentation for buffer API functions
2024-07-28 00:00:03 +02:00
Charlie Gordon
a388a95305
Pass QEmacsState pointer to all module_init and module_exit functions (#24) 2024-05-19 19:15:08 +02:00
Charlie Gordon
1f79d713b0 Improve CSV syntax highlighter
* refine number and date matching
2023-03-15 09:58:33 +01:00
Charlie Gordon
7cf5878805 Add CSV mode
* add csv-mode with colorizer
* split lang/extra-modes.c to lang/emf.c and lang/sharp.c
* bump VERSION to 6.1.1c
2023-03-13 23:07:26 +01:00