jEdit Community - Resources for users of the jEdit Text Editor
explict folding mode
Submitted by haras on Friday, 18 August, 2006 - 17:02
how to use explict folding mode in php, i have tried almost all function in jedit and nothing happens :{

i have for example:

/**
* @name render_menu
// +{{{
* .... some other
*/
public static function render_menu() {
....code...
} //}}}

i want this to produce:
+ render_menu

when i hit + it will expand the code of this method


i have makro downloaded from this site to collapse folds on startup beginning with -{{{ and expand statring with +{{{
but it doesn't work
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
not mode-dependent
by Robert Schwenn on Fri, 18/08/2006 - 19:50
You have to choose the desired folding mode in one of the following ways:

- in GlobalOptions->jedit->editing as global standard or/and mode-dependent
- in BufferOptions (only for current buffer in current session)
- place a string like this ":folding=explicit:collapseFolds=1:" in a comment in the 10 first or last lines of the desired file to specify folding mode and initial folding level.

The current folding mode is documented in the status line on the right hand.
To expand/collapse a fold: click at the Symbol in the gutter.

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