Armel Asselin:

i wonder if it possible to know if scintilla is currently wrapping? and/or
if wrapping is done 'up to doc line N' ?
is there any call for that or something from which I could deduce that?

  There is no simple direct way to determine this. You could get an
idea by polling with SCI_VISIBLEFROMDOCLINE, correlating against
modification notifications and when a line beyond N has changed or no
doc lines have changed visible line for some period...

  Platform-specific code could check for the idler being turned off
in SetIdle(false) although there may be other tasks added to the idler
in the future. On Windows there is a timer and on GTK+ there is an
idle function and I expect there are ways to check if these are
active. If there's a good use case then there could be a query API.

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

Reply via email to