aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-05-03 12:38:27 +1000
committerNeil <nyamatongwe@gmail.com>2014-05-03 12:38:27 +1000
commit789944504ac424f1b863668a5079a8cc154b1bee (patch)
tree5143863f1a107e1864c8afd2a1eb482fb9c27fee /src
parent192b8f4a80ac6020c2c8ee5d06911d3e261c78a3 (diff)
downloadscintilla-mirror-789944504ac424f1b863668a5079a8cc154b1bee.tar.gz
Move RoundXYPosition to global header to enable use in more modules.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index b690d8011..aefca0a85 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -88,10 +88,6 @@ Timer::Timer() :
Idler::Idler() :
state(false), idlerID(0) {}
-static int RoundXYPosition(XYPOSITION xyPos) {
- return int(xyPos+0.5);
-}
-
static inline bool IsControlCharacter(int ch) {
// iscntrl returns true for lots of chars > 127 which are displayable
return ch >= 0 && ch < ' ';