aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authorMarko Njezic <devnull@localhost>2012-01-18 21:53:42 +0100
committerMarko Njezic <devnull@localhost>2012-01-18 21:53:42 +0100
commit7568f336eaf9c0940ae546c3081be1894c5d025b (patch)
tree92e25fafab1d5a673960662a46f61780c6a037e2 /src/Editor.h
parent5a2fc48080e71e790c147222ffdb209d64fe4bef (diff)
downloadscintilla-mirror-7568f336eaf9c0940ae546c3081be1894c5d025b.tar.gz
Change wrapIndent, wrapAddIndent, aveCharWidth to support fractional values.
This improves sub-pixel alignment of indented wrapped lines and sub-pixel positioning that uses aveCharWidth in calculations. Added type casts to certain places to make it clear that loss of precision occurs due to assignment of float to int.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 90a109cc3..0923f4051 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -264,7 +264,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
int wrapVisualFlags;
int wrapVisualFlagsLocation;
int wrapVisualStartIndent;
- int wrapAddIndent; // This will be added to initial indent of line
+ XYPOSITION wrapAddIndent; // This will be added to initial indent of line
int wrapIndentMode; // SC_WRAPINDENT_FIXED, _SAME, _INDENT
bool convertPastes;