https://bugs.kde.org/show_bug.cgi?id=468409
Bug ID: 468409 Summary: Kate should not show an extra new line at the end of files Classification: Applications Product: kate Version: 22.12.3 Platform: Archlinux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: ben.r.x...@gmail.com Target Milestone: --- SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** Kate seems to add an extra new line to text files when **opening** them. This gives users a false impression of how many lines are actually in the text file. Please note, I am not talking about the "Append newline at end of file on save" option, which I have already disabled. This is about new lines being added upon opening. Please add an option to disable this "feature" or at the very least make the line counter for that last line have a lighter color, which is what I think Visual Studio Code does to indicate that it isn't a real line in the file. STEPS TO REPRODUCE 1. Create a text file with, lets say, 5 lines of text using vim. 2. Open the file in Kate. OBSERVED RESULT 6 lines of text are shown in Kate EXPECTED RESULT 5 lines of text should be shown in Kate, or at the very least that 6th added line should have a different, lighter color in the line counter text. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.