Java > Open Source Codes > org > netbeans > editor > FixLineSyntaxState _ Java API By Example, From Geeks To Geeks.
43 * after each document modification.
49 * for each document modification.
54 * (inserted before line elements undoable edit).
98 * <BR><CODE>text.count</CODE> equals to <CODE>reqLen</CODE>.
103 * into the given text segment.
106 * in the given area.
109 * scanning on another buffer.
166 * has the valid syntax state info and return it.
172 * it reaches originally requested line index.
174 * For the first line the <code>null</code> state info is returned.
201 * that has valid syntax state info. Or it's zero (always valid).
203 * or undefined value if validLineIndex == 0.
205 * or undefined value if validLineIndex == 0.
231 * but "officially" it points to validLineOffset offset.
285 * Fix state infos after insertion/removal.
287 * @param length length of the modification. It's lower than zero for removals.
288 * @return offset of the last line where the syntax stateinfo was modified.
362 * so character copying is being done.
365 * with each next state info being fixed.
398 /*DEBUG*/System.err.println("fixSyntaxStateInfos(): MATCHED at lineIndex="
410 /*DEBUG*/System.err.println("fixSyntaxStateInfos(): Updated info at line "
499 * @param offset to be examined.
502 * assuming that the syntax will be prepared with the returned token.
503 * <BR>It's not guaranteed how much bigger the returned offset will be.