2 questions - folding and opened files
Submitted by Sunday, 1 August, 2004 - 10:06
on
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?
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?