Still I can't find out why the syntax highlighting from objective_c.py does not highlight those keywords automatically, everything seems to be fine with it's code..
On 4 окт, 18:56, "Edward K. Ream" <edream...@gmail.com> wrote: > On Mon, Oct 4, 2010 at 9:14 AM, Tyomalu <tyoma...@gmail.com> 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: edream...@gmail.com > 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 leo-edi...@googlegroups.com. To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.