diff options
author | nyamatongwe <unknown> | 2011-08-07 23:07:01 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-08-07 23:07:01 +1000 |
commit | 6eac1bd38534dfce8c890b24c59261bbf14a6c2b (patch) | |
tree | 8f3a84ef90ae8bf4ca89328e1f3206d342703e0d /src | |
parent | e37e73270f08346b400059a6debf0729b498bebf (diff) | |
download | scintilla-mirror-6eac1bd38534dfce8c890b24c59261bbf14a6c2b.tar.gz |
Add a new XYACCUMULATOR which is more precise than XYPOSITION for
keeping track over long lines.
Using typedefs rather than #defines so goes into namespace.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 7261ac7d2..42e52a711 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2216,7 +2216,7 @@ void Editor::LayoutLine(int line, Surface *surface, ViewStyle &vstyle, LineLayou // Layout the line, determining the position of each character, // with an extra element at the end for the end of the line. int startseg = 0; // Start of the current segment, in char. number - XYPOSITION startsegx = 0; // Start of the current segment, in pixels + XYACCUMULATOR startsegx = 0; // Start of the current segment, in pixels ll->positions[0] = 0; unsigned int tabWidth = vstyle.spaceWidth * pdoc->tabInChars; bool lastSegItalics = false; |