Bug 471403 - Auto-indentation can delete non-indenting characters
Summary: Auto-indentation can delete non-indenting characters
Status: RESOLVED DUPLICATE of bug 468495
Alias: None
Product: kate
Classification: Applications
Component: part (other bugs)
Version First Reported In: 22.12.3
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-24 01:49 UTC by Luke-Jr
Modified: 2023-06-24 14:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2023-06-24 01:49:12 UTC
SUMMARY
File content can be lost for no reason due to this bug.

STEPS TO REPRODUCE
1. Make a file with contents "\taaa\n\tbbbccc"
2. Go to the very beginning of the second line (before the tab); backspace to delete the \n and put both lines together
3. Immediately press Enter to restore the \n

OBSERVED RESULT
File content is now "\taaa\n\tccc" - "bbb" has been lost

EXPECTED RESULT
File content should go back to being "\taaa\n\tbbbccc"
Comment 1 Paul Worrall 2023-06-24 14:37:29 UTC

*** This bug has been marked as a duplicate of bug 468495 ***