mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +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;
|
return 0;
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (!empty() && (isNewline(0) || isLineSeparator(0))) {
|
while (!empty() && (isNewline(0) || isLineSeparator(0))
|
||||||
|
&& (lookupChange(0) != Change::DELETED)) {
|
||||||
erase(0);
|
erase(0);
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user