mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
fix stripLeadingSpaces mechanism with change tracking enabled
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13408 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
96e7ad18f8
commit
d69e34402a
@ -563,7 +563,8 @@ int Paragraph::stripLeadingSpaces()
|
||||
return 0;
|
||||
|
||||
int i = 0;
|
||||
while (!empty() && (isNewline(0) || isLineSeparator(0))) {
|
||||
while (!empty() && (isNewline(0) || isLineSeparator(0))
|
||||
&& (lookupChange(0) != Change::DELETED)) {
|
||||
erase(0);
|
||||
++i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user