On Mon, Oct 18, 2010 at 2:52 PM, Edward K. Ream <[email protected]> wrote:

> The problem is that detect_urls (colorizeURL's) calls
>
>    c.frame.body.tag_add('URL',i,j)
>
> to do the coloring.  This is a direct hook into the tk colorer, but
> has no effect on the qt.colorer.
>
> Let me see if I can come up with a quick fix.

The obvious approach, calling the setTag method of the qt colorer will not work.

I suspect the only way would be to add a new rule to the rulesets for
all (or a set of) languages.  The rule would use the match_seq_regexp
method to specify regex.

I'll play around with this a bit, but not for very long...

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to