OSDN Git Service

GhostTextBuffer: Don't unexpectedly bring back empty lines user wants to delete
authordatadiode <jochen.neubeck@vodafone.de>
Sat, 28 Dec 2019 09:02:11 +0000 (10:02 +0100)
committerdatadiode <jochen.neubeck@vodafone.de>
Sat, 28 Dec 2019 09:02:11 +0000 (10:02 +0100)
commit6e621d2bcaf4ab901011216043399964f6977818
tree21c7805aa3994bad91170c42199917c6580224f8
parent702909e283fc3f4549fba5bd7ed9ebce3577be7a
GhostTextBuffer: Don't unexpectedly bring back empty lines user wants to delete

Happens with empty lines enclosed between ghost lines.
Besides, this change seems to also save some extra messing to prevent lines from accidentally losing an EOL.
Src/GhostTextBuffer.cpp