Workaround KMime trimming the last empty line
ClosedPublic

Authored by ervin on Dec 22 2015, 11:04 PM.

Details

Summary

That should fix the jumping cursor issue we see in Renku. It is due to
the editor sending to save the latest empty line, then the change being
signalled back, the empty line removed... then the line on which the
cursor was is gone, making it jump at the beginning of the editor.

It seems that KMime does other weird stuff with empty lines, but that
was the most annoying one for us so far.

Diff Detail

Repository
R4 Zanshin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ervin updated this revision to Diff 1574.Dec 22 2015, 11:04 PM
ervin retitled this revision from to Workaround KMime trimming the last empty line.
ervin updated this object.
ervin edited the test plan for this revision. (Show Details)
ervin added reviewers: bensi, franckarrecot.
bensi accepted this revision.Dec 23 2015, 10:26 AM
bensi edited edge metadata.
This revision is now accepted and ready to land.Dec 23 2015, 10:26 AM
This revision was automatically updated to reflect the committed changes.