jed-users mailing list

[2019 Date Index] [2019 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[jed-users] add_keywords, syntax highlighting, wide characters, utf-8


Hi,

I have some problems with the syntax highlighting of words that
contain wide characters:

  create_syntax_table ("tbl");
  define_syntax ("æøåa-z", 'w', "tbl");
  () = add_keywords ("tbl", "bøålæg", 3, 0);
  use_syntax_table ("tbl");

%  bø ål æg

If I run these lines, only "bø" is highlighted. If I only
specify the wide characters themselves as keywords such as

  () = add_keywords ("tbl", "æøå", 2, 0);

then all three letters are highlighted.

?

  Morten

jed version: pre0.99.20-132/Unix
 Compiled with GNU C 8.2
S-Lang version: 2.3.2

jed compile-time options:
 +LINE_ATTRIBUTES +BUFFER_LOCAL_VARS +SAVE_NARROW +TTY_MENUS
 +EMACS_LOCKING +MULTICLICK +SUBPROCESSES +DFA_SYNTAX +ABBREVS
 +COLOR_COLUMNS +LINE_MARKS +GPM_MOUSE +IMPORT

Using JED_ROOT=/usr/local/stow/jed/jed

_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2019 date index] [2019 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]