[code] [textadept] Defining chars above 127 as non word_chars

From: Giovanni Salmeri <g.salmeri.att.mondodomani.org>
Date: Tue, 18 Aug 2015 22:21:52 +0200

Hello everybody.

I am stuck with a little problem. In its default configuration,
Scintilla/Textadept considers all the characters above 127 as word
characters. Obviously this is not really the case: in particular the
quotes « and » (normal in many languages) should be treated as
punctuation characters. The problem is that the presence or absence of
chars above 127 seems to be ignored in buffer.word_chars. If I delete
from it the character "a", "a" becomes a non-word character; but if I
delete string.char(171) and string.char(187) (that is « and »), nothing
seems to change. Perhaps there is something related to encoding that I
should know? Also the documentation of Scintilla does not explain
more. Can anybody help me?

Thank you very much!

-- 
Giovanni Salmeri
http://mondodomani.org/pers/salmeri/
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 18 Aug 2015 - 16:21:52 EDT

This archive was generated by hypermail 2.2.0 : Wed 19 Aug 2015 - 06:54:57 EDT