jEdit Community - Resources for users of the jEdit Text Editor
Highlighting Headers in Html Edit Mode
Submitted by Gary Gabriel on Saturday, 25 July, 2009 - 08:15
Hi,

I use jEdit to code html and to write html formatted content. For writing content jEdit html mode proves trying and detracts from focusing on the content, and the content logic or flow. I'm searching for a better solution where the header tags h1, h2, h3, h4, h5 and h6 are highlighted. This supports connection of the content logic. It also enables faster orientation in the page and much less time spent looking for a specific page point.

Are there alternatives to offer the highlighting or an easy orientation on the headers? InfoViewer does not highlight (html) headers hence not offering relief.

Or is there another possibility to use?

Thanks for your help- Gary Gabriel
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Highlight Plugin
by ptrinier on Wed, 29/07/2009 - 15:09
Another way to accomplish this would be to use the Highlight plugin. It can highlight in different colours, matching regexen. I only ever choose to highlight per session, but it can save your highlighting preferences permanently as well.
Hi, I know this is not quite
by Lobotom on Sun, 26/07/2009 - 15:59
Hi, I know this is not quite what you asked for, but as Robert just solved my problem, I'm trying to bring my stone to the building :

I searched the plugins and found nothing that does what you ask (I may have missed it thou) but I tried SideKick, and it provides a dockable tree structure (much like folder browsing) that let's you navigate easily in the HTML elements and sub-elements.

I know it's not quite like having a good visual highlighting, but it's probably your best substitute, for navigating easily in your content.

EDIT : sorry, didn't mean to post above Robert, clicked "new comment" to avoid left margin, visual result got me by surprise.
Did You search the Community
by Robert Schwenn on Sat, 25/07/2009 - 15:02
Did You search the Community Downloads ?

In general, You can influence the highlighting by editing the mode definition file. It's stored in the \modes subdirectory of jEdit's program directory.
If You're using jEdit4.3preX, the tags "h1" until "h6" are defined as "MARKUP". You could change this i.e. to "KEYWORD4" or to every valid token You find in the global options pane "syntax highlighting".

Robert
User login
Browse archives
« November 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   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300