Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
282c9e7
)
ecere/gui/EditBox: Fixed Undo bug when Insert Tabs is on and adding text past end...
author
Niraj Kulkarni
<kulkarniniraj14@gmail.com>
Wed, 6 Mar 2013 11:20:35 +0000
(06:20 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 6 Mar 2013 11:22:08 +0000
(06:22 -0500)
ecere/src/gui/controls/EditBox.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/controls/EditBox.ec
b/ecere/src/gui/controls/EditBox.ec
index
d95df76
..
2d232ad
100644
(file)
--- a/
ecere/src/gui/controls/EditBox.ec
+++ b/
ecere/src/gui/controls/EditBox.ec
@@
-4933,6
+4933,7
@@
private:
}
if(addCharAction)
{
+ addCharAction.x -= addedTabs * (tabSize-1);
addCharAction.addedSpaces = addedSpaces;
addCharAction.addedTabs = addedTabs;
}
@@
-5277,6
+5278,7
@@
public:
}
if(addCharAction)
{
+ addCharAction.x -= addedTabs * (tabSize-1);
addCharAction.addedSpaces = addedSpaces;
addCharAction.addedTabs = addedTabs;
}