jEdit Community - Resources for users of the jEdit Text Editor
2 questions - folding and opened files
Submitted by diabl0 on Sunday, 1 August, 2004 - 10:06
I have 2 questions about jEdit.

1: How to configure jEdit that it can fold sourcecode betwen { and } (or other configured chars/strings)... for example code looks like that:

function gen_new_size($old_x, $old_y, $new_x, $new_y) {
$gen_x = $new_x;
$scale = $old_x / $new_x;
$gen_y = intval( round( $old_y / $scale ) );
return array($gen_x, $gen_y);
}

and now i want to fold it to:

function gen_new_size($old_x, $old_y, $new_x, $new_y) { [4 lines]
}

------------------------

2: I usualy working o multiple files (5-10), and in prewious versions of jEdit, when i quit jedit and then launch it again, all opened files was still opened. Now, when i close and reopen jedit, it starts with blank file.
What/where is option to force jEdit to keep opened files open after reopen?
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
i recommend the configurable
by Anonymous on Sun, 01/08/2004 - 12:41
i recommend the configurable folder plugin. it enables you to select
different folding chars for each edit mode, and even use refular
expression. as we speak i am using folding for "c" with "{"
and "}" as fold start and close characters, and it works great.
User login
Browse archives
« November 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   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300