On Tue, Apr 12, 2011 at 12:22 PM, Gregory Crosswhite
<[email protected]> wrote:
> That doesn't seem to work either.
>
> I am trying to add syntax coloring for scala, so I took the jEdit scala.xml
> colorizer file and used the Leo script to convert it to scala.py.  Then I
> put it in the modes.py directory.

That should work.

For debugging, look at qtGui.py: Qt gui-->@file qtGui.py-->Syntax
coloring-->class jeditColorizer--> Birth & init

You may enabled tracing (set trace = True) in the following methods:
init, init_mode, mainLoop, colorRangeWithTag

That should tell you if your .py file is being used at all, and if so,
what is happening in detail.

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