Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8ebfa
)
ecere/gui/controls/EditBox: Fixed remaining issue with selection, tabs and freecaret
author
Jerome St-Louis
<jerome@ecere.com>
Fri, 15 Jul 2016 04:47:35 +0000
(
00:47
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 28 Jul 2016 21:35:23 +0000
(17:35 -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
b31dfc0
..
2de16b5
100644
(file)
--- a/
ecere/src/gui/controls/EditBox.ec
+++ b/
ecere/src/gui/controls/EditBox.ec
@@
-1648,7
+1648,10
@@
private:
th = space.h;
}
else
+ {
surface.TextExtent2(buffer, line.count, &tw, &th, 0, null, &oh);
+ tw += countTabsExtraSpaces(buffer, tabSize, 0, line.count) * space.w;
+ }
}
else if(line == selStartLine)
{