diff options
author | nyamatongwe <devnull@localhost> | 2011-06-07 11:37:15 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-06-07 11:37:15 +1000 |
commit | 1b3f7d04c670a821ee7ed2c60dea9e898742bf7c (patch) | |
tree | 5771504fece039a879bc0f34a413f72aa89849bc /src/Decoration.cxx | |
parent | 50042e8d340a9a8f00028b850d18b721f19000c3 (diff) | |
download | scintilla-mirror-1b3f7d04c670a821ee7ed2c60dea9e898742bf7c.tar.gz |
Add accessor to RunStyles for number of runs so Decoration can use public API.
Make RunStyles internal methods private.
RunFromPosition is const so marker as const.
Diffstat (limited to 'src/Decoration.cxx')
-rw-r--r-- | src/Decoration.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Decoration.cxx b/src/Decoration.cxx index e4ac0e07c..90bde57f2 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -28,7 +28,7 @@ Decoration::~Decoration() { } bool Decoration::Empty() { - return rs.starts->Partitions() == 1; + return rs.Runs() == 1; } DecorationList::DecorationList() : currentIndicator(0), currentValue(1), current(0), |