jEdit Community - Resources for users of the jEdit Text Editor
Need function highlighting in CodeBrowser plugin
Submitted by Anonymous on Friday, 8 April, 2005 - 09:04
One of the frequent things I run into is that I search for a word or a tag in my
C program and end up somewhere in a file. I end up scrolling up the screen to know
which function the cursor is in and come back to the cursor position. A nice feature
would be if the CodeBrowser plugin can highlight the function in which the cursor is
currently located.

--Hemanth P.S.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
submitted elsewhere
by rwprogrammer on Tue, 20/09/2005 - 01:04
Note:
This feature has also been requested in the following post:
http://community.jedit.org/?q=node/view/1652
 
This has not yet been requested previously
by Kahlan on Thu, 03/11/2005 - 14:33
No it isn't quite. The Codebrowser there was the answer to a question; this is a request to enhance codebrowser.

I looked into the code of codebrowser and it seems to be feasible to extend it. However I don't have the guts to Eye-wink

It involves a call to textarea.getcaretline and then determine the function-at-the-heighest-line-below-current-line. Then highlight it, just the same as the currentbuffer is highlighted.
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