I am writing a custom language plugin. I get the following error.
java.lang.IndexOutOfBoundsException: Wrong offset: 126. Should be in range: [0, 10] Lexer: ...
This error is generated from the class SegmentArray.java. I specifically believe the error comes from the myEnds array in that class containing some spurious data. However I would like to know
- What exactly makes a SegmentArray?
- Who gives it 'segment' data? Is it the highlighting lexer or some other entity?