- Subject: [jed-users] add_keywords, syntax highlighting, wide characters, utf-8
- From: Morten Bo Johansen <mbj@xxxxxxxxxxx>
- Date: Fri, 4 Jan 2019 14:38:06 +0100
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]