Closed pturley0 closed 7 years ago
I've attached the test file described by this issue.
I've attached a movie that demonstrates the problem.
Thank you for the report and for the test file. Reproduced.
Note to self: this only happens when there are form feed characters in the buffer. Python thinks they are line separators, but Scintilla does not. koDocument.py's lines = text.splitlines(True)
(around line 1446) needs to be changed to split lines by \r\n|\n
, capture the line end, and construct lines
appropriately.
Short Summary
With a document of a specific form, and certain preference settings, Komodo Edit will delete text when saving the document.
Steps to Reproduce
Create a document with the following contents (also see attached):
Expected results
Komodo Edit saves my document exactly as shown.
Actual results
Komodo Edit chops the 'BCD' from the penultimate line before saving the file:
Platform Information
Komodo Edit Komodo Edit, version 10.2.0-alpha1, build 17637, platform macosx. Built on Wed Jan 25 09:00:15 2017. macOS Sierra Version 10.12.13
Additional Information