jEdit Community - Resources for users of the jEdit Text Editor
Changing Syntax Highlighting Categories
Submitted by Anonymous on Thursday, 21 July, 2005 - 08:10
Hi,

I'm using jedit for editing latex with the german language package. This package uses quotation marks for special charachters and so jedit's syntax highlighting interprets much of the text as LITERAL1, although this is not intended to be so. Is there a way of switching off syntax highlighting just for LITERAL1? How can one generally individually define syntax highlighting (not only the colour, but also when things should be marked in this colour)?

Thanks a lot,
Matthaeus
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Edit Mode
by Vampire on Thu, 21/07/2005 - 08:38
Create a new or edit the existing edit mode. There is amongst other things defined what is to be syntax highlighted.
How to make edit modes is covered in the jEdit User's Guide in the jEdit Help and you have enough examples in the modes-directory
 
Changing Edit mode without effect
by Drileba on Wed, 26/10/2005 - 17:03
I am trying to do exactly the same, but editing the edit mode does not have any impact on the syntax highlighting. Even deleting all tags from the edit mode tex.xml does not change anything, even not after "Utilities > Trouble Shooting > Reload Edit Modes".

Is there a global default syntax highlighting? And how to overwrite it. I read the Chapter 10, "Mode Definition Syntax" of the User Guide but still don't see it.
 
My fault
by Drileba on Thu, 27/10/2005 - 10:37
I confused tex.xml and latex.xml edit modes because in the dialog for choosing the edit mode for a buffer only appears tex for both of them.
Changes on latex.xml do have an impact on the syntax highlighting.
User login
Browse archives
« September 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   96034
Context Free Art (*.cfdg)   0.31   46061
BBEdit scheme   1.0   18600
JBuilder scheme   .001   18501
ColdFusion scheme   1.0   18030
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16212
Matlab Edit Mode   1.0   16074
jEdit XP icons   1.0   15235
XP icons for jEdit   1.1   14299