Just added (not pushed) some code to change the background color of
"status area 1", the part of the status bar that looks like:

line: 2, col: 0, fcol: 0

whenever fcol exceeds some limit, like 78.

This alerts you to too many columns.  But it will trigger all the time
in wrapped text that might not be source code - I guess the question
is, is there a fast way to know if you're in "source code", presumably
from the @language definition.

Maybe it's premature optimization to not just try iterating p.parent()
to see, but that seems like an expensive loop to run everytime the
cursor gets past a certain column.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to