At present jEdit has three word wrap modes which are as follows:
None: no word wrapping
Soft: word wrapping is done against the specified margin
Hard: the file is modified to insert new line breaks at the specified margin
These modes only work if there are space characters in the line. If jEdit is working with a file that has no space characters it does not wrap the line. This means it is not the editor of choice for this kind of file and other utilities like Windows Notepad are used instead.
I would like to request a new option "Wrap to Window" which works irrespective of the contents of a line. In effect it should make the horizontal scroll bar redundant.
I believe there are two choices for this new option:
1) A new Word Wrap mode, called Window
2) A new option Window Wrap that disables Word Wrap and when Word Wrap is enabled Window Wrap should be disabled
Initially I thought option 1 sounded right but as this new option will not word wrap but just wrap the second option might be better and clearer for new users.
I believe this would be a very valuable enhancement to jEdit and if nothing else will mean I don't keep having to use Windows Notepad!
Bug 1623562 contains some information relating to this and was the trigger for this request.
Logged In: YES
user_id=1567309
Originator: NO
"In effect it should make the horizontal scroll bar redundant."
Speaking of which, an option to hide the horizontal scroll bar in the event that it isn't performing any function would be welcome. Every bit of screen space saved helps!
Logged In: YES
user_id=1486645
Originator: NO
1. Your "Word Wrap mode, called Window" already exists: As of jEdit 4.3pre1, if the wrap margin is set to 0 and soft wrap is enabled, wrapping is performed at the text area width.
So I think, the feature request could be as follows:
2. Since long lines without spaces seems to be not very rare (XML), what's about a new switch (probably only for soft wrap mode), that says:
a, perform wrap only at spaces and special "wordBreakChars" (current behvior)
b, perform wrap at word boundaries (no spaces required, special "noWordSep" recognized)
c, perform wrap at any character
3. Hiding the scrollbar seems not to be depending on wrap. It probably could be done always, when there is nothing to scroll. But this should be a seperate feature request, doesn't it?
Logged In: YES
user_id=1567309
Originator: NO
"Hiding the scrollbar seems not to be depending on wrap. It probably
could be done always, when there is nothing to scroll. But this should be a
seperate feature request, doesn't it?"
If I have any luck with the request for scrollwheel modifier keys to be configurable by the end-user, I'll submit other feature requests, but the impression is the developers are busy and have other focuses for now. Considering the scrollbar behaviour hasn't changed and we're almost at version 4.3, there's probably a good reason for it not being hidden like in other applications.
Logged In: YES
user_id=869700
Originator: YES
Personally I am happy with what rschwenn said in his point 2 on 2007-02-10 11:15. I was just making a suggestion over the GUI bit and rschwenn's idea is cool by me. I just want to see the functionality!
Cheers folks, Geoff
A patch using BreakIterator has been submitted.
https://sourceforge.net/support/tracker.php?aid=2483695
Is this request satisfied with the patch?
I am no longer using jEdit, however I have reviewed the referenced patch and believe this will work fine and allow this issue to be closed.
Thank you
I am testing the patch now and it does not resolve the issue for me.
This feature request is reasonable, but with time it grew too complicated, so I am closing it. See comment by k_satoda on 2012-02-10 08:38:19 to #2483695
https://sourceforge.net/tracker/?func=detail&atid=300588&aid=2483695&group_id=588
I'm creating a similar but simpler entry #3499367
https://sourceforge.net/tracker/?func=detail&aid=3499367&group_id=588&atid=350588
If after all the enhancements made till now, you have some other suggestions, please also create a new ticket with a single, clear feature request. If your request is not yet clear, you may start a discussion on jedit-devel.