-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option for cursor beyond EOL (non wrapping cursor) #14297
Comments
Are there other editors that support this and if so what is this mode/setting called? Brainstorming:
|
Absolutely. This was the default for old-ish editors in DOS. For a long time it was one of the most noticeable difference between a code editor and a text editor. Delphi still does that to this day. It's called "non-wrapping cursor" (at least that how it was called in KDE) or "cursor beyond EOL", "virtual spaces", etc. Some relevant discussions regarding the issue:
Long time ago (circa KDE 3.3) it was supported in Katepart, so Kate and KDevelop used that too.
IIRC it act as if there are (virtual) spaces in between. You can navigate between actual EOL and virtual one using End key much like this happens with Home and first non-whitespace character.
Yes, you can. Check this video where the guy used his mouse to move the cursor beyond EOL.
I believe virtual spaces remain virtual unless user types something, so they would not be selected. |
"Virtual Space" (or "caret/cursor after end of line") finally is about to be implemented also in VS-Code (and only thanks to a great job and independent pull initiative of @x17jiri) after several years of (un-heared) requests to VSCode team: *About this, there is already a full and perfectly working "unofficial" fork release: x17-Code Anyway it is also implemented in VisualStudio (not Code) IDE editor (from ever) and in all JetBrains IDE editors (from the beginning), not (yet) in Fleet. Personally I consider it an essential option. |
Check for existing issues
Describe the feature
I'd like to have an editor option that allows moving the cursor caret beyond the line end in a non-wrapping manner.
This behavior was the standard for early editors like DOS TurboC/Pascal, Delphi/CBuilder and even KDevelop/Katepart, but then KDE ditched that option for no good reason.
Being a programmer for ~30 years I am so used to this behavior that the modern wrapping cursor makes me sick. Please consider an option to bring this behavior back 🙏
If applicable, add mockups / screenshots to help present your vision of the feature
Something like this with the exception that when a newline is inserted, cursor should inherit previous line's indentation:
Kazam_screencast_00007.mp4
The text was updated successfully, but these errors were encountered: