jEdit Community - Resources for users of the jEdit Text Editor
Change Editing Mode
Submitted by Anonymous on Sunday, 8 August, 2004 - 13:04
On the webpage i am working on right now there are HTML template with .tpl extension. It seems hovever there is a seperate editing mode for .tpl, so when i edit one of the templates the features of the XML plugin are not available.
So my question is if it is possible to have the HTML editing mode enabled for .tpl files automatically.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Global options
by fixedsys on Mon, 09/08/2004 - 06:36
Go to Utilities -> Global options -> Editing

Choose "Change settings for mode": "tpl"
Uncheck "Use default setting", if necessary
Delete the "File name glob"

Choose "Change settings for mode": "html"
Uncheck "Use default setting", if necessary
Add the tpl extension to the the "File name glob", f.e. "*.{html,htm,tpl}"

Apply the changes and close the setup dialog.
Perhaps you have to change the mode for buffers in the history for yourself.

Hope it helps, Lars
 
tpl + html
by Anonymous on Wed, 22/12/2004 - 13:48
Hello,

And what if I want to highlight TPL {} constructions and use html editing mode? Is there some way to get such a behaviour?
Thanks in advance.
 
Yes that worked. Thanks for y
by Anonymous on Mon, 09/08/2004 - 07:55
Yes that worked. Thanks for your help! Smiling
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   97301
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