aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-05-24 00:04:54 +1000
committernyamatongwe <unknown>2013-05-24 00:04:54 +1000
commit85237dd55cd67cf9f72a751f5a275a910350e5cd (patch)
tree6a0072e11ce30bf18130cf7fcc3baa37d5fd92fe /src/CallTip.cxx
parentd6e875c9b3a507551eb32ca3fff159eb07189fd9 (diff)
downloadscintilla-mirror-85237dd55cd67cf9f72a751f5a275a910350e5cd.tar.gz
Made methods const where they can be and are logically const as well.
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r--src/CallTip.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index 8931f413d..c12a6e8eb 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -69,7 +69,7 @@ bool CallTip::IsTabCharacter(char ch) const {
return (tabSize > 0) && (ch == '\t');
}
-int CallTip::NextTabPos(int x) {
+int CallTip::NextTabPos(int x) const {
if (tabSize > 0) { // paranoia... not called unless this is true
x -= insetX; // position relative to text
x = (x + tabSize) / tabSize; // tab "number"