Greg Smith wrote:
When I get an error in my script I mark the offending line by changing the
background colour using SCMARK_ERROR. When the user modifies the script (or
does some action to fix the problem), I clear the error, which removes the
marker using MarkerDeleteAll(SCMARK_ERROR).
This action generates a SC_MOD_CHANGEMARKER notification which eventually goes
to void Editor::NotifyModified(Document*, DocModification mh, void *).
Unfortunately, this routine assumes that the change only affects the margin,
which is not the case for SCMARK_ERROR, which is affecting the background colour
of the entire line.
I can fix this in my code, but it feels a bit untidy...
Actually, I think there are more cases than that where the line
background itself is affected by markers...
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest