ScintillaNET icon indicating copy to clipboard operation
ScintillaNET copied to clipboard

No Extended ASCII in syntax coloring keywords allowed...

Open Trusty77 opened this issue 7 years ago • 4 comments

I use the control with two keywords lists. The first one for language elements (VB.Net ou C# for me), and the second for localized user variables with french accents or Kanji characters. The syntax coloring does not work in this case. Only for keywords with regular ASCII charaters. Is there a workaround, or a place to fix the problem ?

Trusty77 avatar Sep 24 '18 09:09 Trusty77

This is likely a native Scintilla issue and/or specific to the lexer.

Can you please put together some sample code that replicates this?

jacobslusser avatar Sep 24 '18 23:09 jacobslusser

Thanks for your fast answer. I have modified the demo to add 'voila' and 'voilà' in the second keyword list. Just copy/paste the text 'voila voilà' in the editor. The first word is highlighted, not the second. ScintillaNET.Demo-master.zip

Trusty77 avatar Sep 25 '18 07:09 Trusty77

I think that ScintillaNET or Scintilla doesn't support special accented characters, like many of the text editors? By the way, you can use another name for it, why would you want to use accents everytime? That would be difficult.

netherrakk avatar Nov 02 '18 23:11 netherrakk

This is worse that you can imagine. This for Japanese users who wants to define local variables in VB.Net . VB allows Unicode characters, but not the editor... I have probably to buy a control to do that...

Trusty77 avatar Nov 03 '18 09:11 Trusty77