This project is read-only.

Only highlight keywords within a certain range

Jul 2, 2013 at 7:28 PM

I wounder if it is possible to highlight keywords only within a certain range (dynamically)? If I have something like this text for example:
private class myClass
    // Within this class, myInt should be highlighted
    static int myInt = 1;


// Outside the class not
I have already implemented all the logic neccessary to do something like this and it works in theory - I only need to know how I can limit the highlighting to a certain range.

Is this possible?

Aug 22, 2013 at 9:55 AM

does nobody know if thats possible? Can't I force Scintilla when iterating over the text to colour a parsed item seperatly
(an item which is not in the keywords list)? Or can I somehow set int ranges for the keyword lists?