aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-07-07 11:52:09 +0000
committernyamatongwe <devnull@localhost>2009-07-07 11:52:09 +0000
commit46c3c53a3c290f8757931a9f30bbf5f9577dd685 (patch)
tree58a8ee44a804dd0415f9389c06bf3289509c5aae /src/Editor.h
parent8fb47ea5ad855228fcb7ae91148e7fbbc783f8d4 (diff)
downloadscintilla-mirror-46c3c53a3c290f8757931a9f30bbf5f9577dd685.tar.gz
Using the last style on a line to determine the width of a virtual space
rather than use the default style. This adapts better for comments which use a different font.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 687d963eb..051eb9329 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -276,6 +276,9 @@ protected: // ScintillaBase subclass needs access to much of Editor
PRectangle RectangleFromRange(int start, int end);
void InvalidateRange(int start, int end);
+ bool UserVirtualSpace() const {
+ return ((virtualSpaceOptions & SCVS_USERACCESSIBLE) != 0);
+ }
int CurrentPosition();
bool SelectionEmpty();
SelectionPosition SelectionStart();