On Saturday, November 9, 2024 at 3:08:15 PM UTC-6 Edward K. Ream wrote:
 

Aha! The colorizer must be, in a limited sense, stateless. True, _recolor 
uses and manipulates the state of the line being colorized. However, it is 
*futile 
*to maintain any data *between *calls to _recolor. I shall remove all such 
ivars.


Happily, there is only one such ivar: *after_doc_language*. This ivar 
restores coloring after an @doc part.

Theoretically, using an ivar (instead of updating the qsh state) is a 
buglet. In practice, this tiny detail will never cause problems. I shall 
leave this ivar alone.

Edward

-- 
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 view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/1dbeab83-8def-4e31-b330-d7fd1d50fbadn%40googlegroups.com.

Reply via email to