On Mon, Oct 4, 2010 at 9:14 AM, Tyomalu <[email protected]> wrote:
> Is there any solution to interpret those symbols as keywords but not
> as Leo commands?
The following script works.
for z in ('interface','implementation','end'):
if z not in g.globalDirectiveList:
g.globalDirectiveList.append(z)
c.frame.body.colorizer.highlighter.colorer.defineLeoKeywordsDict()
You might want to make it a plugin so that it will automatically be
run for each commander c.
Edward
------------------------------------------------------------------------------
Edward K. Ream email: [email protected]
Leo: http://webpages.charter.net/edreamleo/front.html
------------------------------------------------------------------------------
--
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.