https://bugs.kde.org/show_bug.cgi?id=453252
Bug ID: 453252
Summary: 'Append newline to file on save' moves cursor on save
Product: kate
Version: 22.04.0
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When Kate is set to append a newline to a file on save and the cursor is
currently at the end of the file, the cursor moves to the next line when the
user saves the file.
STEPS TO REPRODUCE
1. Make sure Settings > Configure Kate> Open/Save > 'Append newline at end of
file on Save' is enabled
2. Open any existing text file in Kate
3. Type something on the empty last line
4. Place the cursor at the end of the newly typed last line
5. Press Ctrl+S (save)
OBSERVED RESULTS
Cursor is automatically moved to the newline that was inserted after the last
line
EXPECTED RESULTS
Cursor should not be automatically moved when the user saves a file
SOFTWARE VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.15.36-1-lts (64-bit)
Graphics Platform: X11
--
You are receiving this mail because:
You are watching all bug changes.