#1832 guillemet word character ?

Lars Voigt

Hello everyone,

we are using scintilla indirect via ScintillaNET and it works very well.
But now we have a curious behaviour detected. If we want get some
word from position which is enclosed with guillemets then we get a wrong result.
The cursor stand on »Mons|ieur« then call the function and the result is »Monsieur«.
It return the word + the Guillemets. But only the word was expected.

I make also a test with notepad++ and I get the same result:

So we think it is a bug, because guillemets are not word character.

Thanks, look forward to hear from you.

1 Attachments


  • Lars Voigt

    Lars Voigt - 2016-05-26

    I have forget to say, the test scenario with notepad++ was:

    The cursor is also placed on »Mons|ieur« then I open the find dialog and
    the input field will be autofill with »Monsieur« instead of Monsieur.

    Last edit: Lars Voigt 2016-05-26
  • Neil Hodgson

    Neil Hodgson - 2016-05-26
    • labels: --> scintilla, word
    • Priority: 6 --> 5
  • Neil Hodgson

    Neil Hodgson - 2016-08-12

    This report does not reveal which functions are being called or the encoding of the file. No matter what Scintilla's API provides with word-oriented functions, you can always write your own code that deals with the document as a byte sequence and behaves in whatever way you want.

  • Neil Hodgson

    Neil Hodgson - 2016-10-16
    • status: open --> closed-fixed
    • assigned_to: Neil Hodgson
  • Neil Hodgson

    Neil Hodgson - 2016-10-16

    Scintilla now treats the '»' and '«' as non-word characters in UTF-8 mode. The application chooses their character class in single byte character sets. The behaviour of Notepad++ depends on the Notepad++ implementation and may or may not be influenced by this change.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks