jEdit Community - Resources for users of the jEdit Text Editor
Markers and marker browser
Submitted by gryf on Friday, 17 April, 2009 - 17:44
Hi.

In jEdit there is usefull feature called markers (and there is also menu for that) however there is something missing about it. There is no way to agregate all markers in one place like in Hypersearch window (or maybe i cannot find it). After some investigations, I found two things:

1. Plugin Markers Sets (http://plugins.jedit.org/plugins/?MarkerSets)

This is almost what I want, howerver it have two blockers: It have nothing to do with jEdit markers - it provide it own, and it doesn't work with jEdit 4.2 final which I use for "production" as a stable as a rock platform.

Is there any other plugin which can utilize markers information? It'll be perfect if it automaticly scan for marker in entire ProjectViewer project root directory.

2. Macro listMarkers.bsh (http://community.jedit.org/?q=node/view/1057) which uses jEdit markers, but it cannot be docked in way that plugins windows can. Also it list only markers from current buffer.

Is there a way to dock window created by a macro?

And finally - what informations are stored on *.mark file? I can see something like:
!.;289;289
Where dot after exclamation mark is actually null (0x00)

Thanks in advance for any comment.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
options
by Robert Schwenn on Sat, 18/04/2009 - 12:37
1. jEdit 4.3pre16
There is an integrated dockable that shows all markers of current buffer.

2. jEdit 4.2:
I only can see the workaround to patch the macro listMarkers.bsh. When line 81 is commented out (//dialog.setVisible(false)) the dialog will not be hidden after a click on an item.

3. Theoretically a beanshell macro can do all things a Java program is able to do. But I've never seen a macro providing a dockable window. And since You ask this question, I think it could be a piece of work for You Eye-wink. I have been written some macros, but I can't tell You how to do this. You would have to take a look at some source code providing a dockable.

4. The number in the markers file are the caret offset related to the beginning of the buffer (character count). The action "Goto next marker" places the caret at this position.


Robert
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   96033
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