Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d04c599
)
ecere/gui/EditBox: Fixed Undo bug with selection and Overwrite mode
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 7 Aug 2013 23:16:07 +0000
(19:16 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 7 Aug 2013 23:16:07 +0000
(19:16 -0400)
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
ee05aea
..
4acebde
100644
(file)
--- a/
ecere/src/gui/controls/EditBox.ec
+++ b/
ecere/src/gui/controls/EditBox.ec
@@
-5232,7
+5232,7
@@
public:
if(style.allCaps)
ch = (ch < 128) ? toupper(ch) : ch; // TODO: UNICODE TO UPPER
- if(this.
x < this.line.count && this.overwrite
)
+ if(this.
overwrite && selX == x && selY == y && this.x < this.line.count
)
{
char buffer[5];
char * newString;