On 05/31/2011 05:23 PM, Edward K. Ream wrote:
On Tue, May 31, 2011 at 3:40 PM, Edward K. Ream<[email protected]>  wrote:
On Tue, May 31, 2011 at 1:38 PM, Gregory Crosswhite
<[email protected]>  wrote:
I just copied scala.xml into the jEdit modes directory and tried opening a 
Scala file within jEdit, and it seems to work just fine.
Doesn't work for me, even after updating the modes/catelog file.

Edward


Did you try going to "Utilities" -> "Buffer Options" and setting "Edit mode" to "scala", to make sure that this is a problem with the colorizer itself and not with the file somehow not being recognized as a scala file? If that still doesn't work, then would you please tell me your version of jEdit and show me the line you added to the catelog file? The colorizer and file recognition has worked for me just fine for both jEdit version 4.3.2 and 4.4pre1.

I don't know if this is the source of your problem, but jEdit saves the edit mode for each buffer that was open in the workspace when you quit it, so that when you restart jEdit the buffers have their last edit mode rather than a new edit mode base on the latest catalog. (This actually makes sense if you think about because the user might have wanted to override the catalog, so there is no point in resetting this setting.) The effect of this is that if the catalog has changed it won't take effect for the re-opened files until they are either closed and opened again or unless one sets the edit mode for them by hand.

Cheers,
Greg

--
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