[QScintilla] Override word character list for lexer

Phil Thompson phil at riverbankcomputing.com
Sat Apr 4 17:22:48 BST 2015


On 04/04/2015 5:12 pm, Sam Aaron wrote:
> Hi there,
> 
> 
> Is there a way of overriding the list of strings used to represent
> words in my own lexer.  I'd like to do this in my own lexer so
> deleting and moving forward and back words using the scintilla
> commands works correctly. I'm using a lexer which inherits from the
> Ruby lexer and would love : ! and ? to be included as word
> characters. 

Have you tried re-implementing wordCharacters()?

Phil


More information about the QScintilla mailing list