jEdit Community - Resources for users of the jEdit Text Editor
Actually check to code to see what mode to go into
Submitted by imgod2u on Friday, 7 May, 2004 - 21:21
Right now (as far as I know), jEdit checks the file extension (.c or .java for example) to decide what editing mode to go into. However, both C, Objective-C and C++ all use .h files. And the default is to go into Objective-C. Would it be possible to have jEdit actually check the code (for instance, if there's "class" inside a .h file, it's obviously c++) as well as the extension? This way I won't have to manually change the editing mode (which affects the syntax highlighting).
User login
Browse archives
« August 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
31
 
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   95567
Context Free Art (*.cfdg)   0.31   46060
BBEdit scheme   1.0   18599
JBuilder scheme   .001   18500
ColdFusion scheme   1.0   18029
R Edit Mode - extensive version   0.1   17478
Advanced HTML edit mode   1.0   16211
Matlab Edit Mode   1.0   16073
jEdit XP icons   1.0   15234
XP icons for jEdit   1.1   14298