Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60f24e2
)
ecere/EditBox: (#1073) Fixed hex number highlighting bug: 0x3, p
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 8 Apr 2014 17:46:00 +0000
(13:46 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 8 Apr 2014 17:46:00 +0000
(13:46 -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
aaa6b6d
..
af50445
100644
(file)
--- a/
ecere/src/gui/controls/EditBox.ec
+++ b/
ecere/src/gui/controls/EditBox.ec
@@
-1792,6
+1792,7
@@
private:
exponent = strchr(word, 'e');
if(!exponent) exponent = strchr(word, 'E');
}
+ if(exponent && exponent > word + wordLen) exponent = null;
if(dot && dot > word + wordLen) dot = null;
isReal = dot || exponent;
if(isReal)