jEdit Community - Resources for users of the jEdit Text Editor
Hypersearch results - link to editor
Submitted by shlomy on Tuesday, 28 November, 2006 - 07:01
This is just a curiosity question: I noticed that that clicking items in the hypersearch results brings me to the correct place in the file even after adding/removing lines in various places in the file and modifying the line to which the result was linked. This makes me think that each hypersearch result stores the line number in which it originated, and then jEdit either updates these line numbers when the file is modified or uses the undo buffer to find the up-to-date line number of the search result when it is clicked. Am I correct?

I am asking this because a similar problem exists with the ctags outlines - CtagsSideKick, CodeBrowser - neither of them works well in tracking the correct location in the code after it is modified (unless 'parse on keystroke' is used).
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   46062
BBEdit scheme   1.0   18600
JBuilder scheme   .001   18502
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