jEdit Community - Resources for users of the jEdit Text Editor
Electric Borders
Submitted by jnicholl17 on Monday, 4 May, 2009 - 18:42
- Using jEdit 4.2 -

I find that I am always having to adjust the vertical position of the page so that I can read a few lines before or after the carat position.

Electric Borders solves this problem to some degree, but it seems to be implemented by enforcing a minimum distance from the carat to the window edge of exactly 3 lines.

I am wondering if it is possible to configure Electric Borders so that the distance of 3 lines could be adjustable or user defined.

Better yet, is it possible to configure jEdit so that the carat is always vertically centered?

I am hesitant to add this as a feature request as I am unsure if this is already implemented.

Thanks,

James
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
property
by Robert Schwenn on Tue, 05/05/2009 - 19:08
1. There's a property without a GUI control witch controls the number of lines for electric borders:

view.electricBorders=3

Copy this line into Your "properties" file in jedit's settings directory and change the number.

2. I don't think that it' possible to tell jEdit to always vertically center the caret. If You want to file a feature request, please do it at the SourceForge tracker, not here at the forum - nobody would care about it.

Robert
 
Thanks
by jnicholl17 on Tue, 05/05/2009 - 21:12
Excellent!

Since I use static window sizes, I should be able to center the caret just by choosing the correct border size.

Thanks for the tip.

James
User login
Browse archives
« April 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   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293