> * detect_urls.py
>
> - This has been *my* major reason, why I still mostly use the
> combination of Python 2 & Tk-GUI ...
I don't remember where we ended last time we discussed this, but the
way to do this is not through a plugin, but through incorporating it
in syntax highlighter code.
--
Ville M. Vainio @@ Forum Nokia
I'll attempt to add this today, following the code in detect_urls.
There are two choices:
1. Colorize url's everywhere, regardless of context.
2. Colorize url's only in comments.
Actually, the jEdit colorizer doesn't know about comment syntax,
although perhaps the scan for url's could be done only where when one
of the comment colorizing tags is about to be applied.
For now, I'll add a so-called "Leo Rule" that will colorize url's
everywhere. I suppose this rule must match early, otherwise all
syntax constructs would suppress the colorizing of urls, which doesn't
seem like what we want.
Edward
>
> --
> Ville M. Vainio @@ Forum Nokia
>
> --
> You received this message because you are subscribed to the Google Groups "leo-editor" group.
> To post to this group, send email to leo-e...@googlegroups.com.
> To unsubscribe from this group, send email to leo-editor+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
>
>
--
------------------------------------------------------------------------------
Edward K. Ream email: edre...@gmail.com
Leo: http://webpages.charter.net/edreamleo/front.html
------------------------------------------------------------------------------