I have worked a bit on the wrapping code. Its now a bit simpler and
follows my conventions a bit more: the wrap range variables are now
wrapStart and wrapEnd and wrapEnd is one past the end of the range.
The code for triggering wrapping is less selective starting a wrap
when text is added even if it doesn't require wrapping at that stage
as it may after styling. This may be slower in some situations
although it doesn't try to measure text immediately so may also be
faster at other times. The reason for this is that fixing the problem
where styling requires a rewrap shouldn't be performing text
measurement for every styling change, instead deferring to the idle
wrap task.

  The backgroundWrapEnabled variable added by Bruce Dodson in 2003
was removed as it was never hooked up to an API so was always true.

  This code is still quite complex so there is a good chance there
are mistakes in the modifications.

 Available from CVS and from
http://scintilla.sourceforge.net/scite.zip Source
http://scintilla.sourceforge.net/wscite.zip Windows executable

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to