diff options
author | nyamatongwe <unknown> | 2009-07-07 11:52:09 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-07-07 11:52:09 +0000 |
commit | a8253c4498fe0ca70458d03b86315b728988d08e (patch) | |
tree | 58a8ee44a804dd0415f9389c06bf3289509c5aae /src/Editor.h | |
parent | 599253475568259ee4ad8bdc5399cf67357c663d (diff) | |
download | scintilla-mirror-a8253c4498fe0ca70458d03b86315b728988d08e.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.h | 3 |
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(); |