ContractionState data structure made more efficient as discussed in the "Inserting 131000 lines" thread.
Changing a line state from a lexer will now invalidate the display when needed. A SC_MOD_CHANGELINESTATE may be sent to the application. This fixes bug #742393 which also occurred in other situations. For example in ASP files with language directives, if the language directive was separated by more than a line then changing the language would not immediately update the script. In the following example, changing "Python" to "vbscript" would not update the script. <[EMAIL PROTECTED]"Python"%> <% Response.Buffer = 1 #this lines are underlined with %> The data structure used for line states was changed to a SplitVector so that lines can be inserted and removed which is more efficient and minimizes the number of changes needed during lexing. Fixed bug where caret was not shown at beginning of wrapped lines. Fixed bug #1404276 where caret was not shown after typing a character that wrapped onto a new line at bottom of window by wrapping the line which just had the character added before ensuring the caret is visible. Also sets scroll bar in case line added by wrapping. Does not fix case where pressing newline results in caret not being visible. Fixed HTML lexer so that XML indicator is not noticed if there is non-whitespace between the "<?" and "XML". Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
