jEdit Community - Resources for users of the jEdit Text Editor
Syntax Highlighting (package org.gjt.sp.jedit.syntax) - How?
Submitted by Anonymous on Monday, 13 September, 2004 - 10:25
API changes for v 4.2 include the following:

>The org.gjt.sp.jedit.syntax package can now be used in other programs.
>All you need to provide is error handling and logic for locating the
>XML mode files. See the package documentation for details

I don't really understand how I can use the package in my own program.
The comments within the API doc are pretty short :-|
Do I just have to use my own JEditTextArea instance? Maybe some of you
have already tried this feature and could give me some advice.

Many Thanks,
Felix
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
karie www.karie.9cy.com
by Anonymous on Thu, 07/04/2005 - 04:54

karie
www.karie.9cy.com
Me to
by Anonymous on Thu, 06/01/2005 - 03:58
A howto or links to example code in JEdit that uses the syntax engine would be appreciated!!!

Is the syntax engine tied to using a text widget? What I'm looking for is to get back a string of text as a list of tokens, which includes there type, so I can format it as xhtml (thinking of using it as the basis for a macro for snipsnap.)

Cheers

Julian
User login
Browse archives
« November 2017  
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
33%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1092
Syndication
file   ver   dls
German Localization light   4.4.2.1   50827
Context Free Art (*.cfdg)   0.31   40995
JBuilder scheme   .001   16907
ColdFusion scheme   1.0   16489
BBEdit scheme   1.0   16475
R Edit Mode - extensive version   0.1   14731
Advanced HTML edit mode   1.0   13965
Matlab Edit Mode   1.0   13887
jEdit XP icons   1.0   13345
XP icons for jEdit   1.1   12367