diff options
author | nyamatongwe <unknown> | 2013-05-24 00:04:54 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-05-24 00:04:54 +1000 |
commit | 85237dd55cd67cf9f72a751f5a275a910350e5cd (patch) | |
tree | 6a0072e11ce30bf18130cf7fcc3baa37d5fd92fe /src/RunStyles.h | |
parent | d6e875c9b3a507551eb32ca3fff159eb07189fd9 (diff) | |
download | scintilla-mirror-85237dd55cd67cf9f72a751f5a275a910350e5cd.tar.gz |
Made methods const where they can be and are logically const as well.
Diffstat (limited to 'src/RunStyles.h')
-rw-r--r-- | src/RunStyles.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/RunStyles.h b/src/RunStyles.h index 521c701fa..b096ad800 100644 --- a/src/RunStyles.h +++ b/src/RunStyles.h @@ -30,9 +30,9 @@ public: ~RunStyles(); int Length() const; int ValueAt(int position) const; - int FindNextChange(int position, int end); - int StartRun(int position); - int EndRun(int position); + int FindNextChange(int position, int end) const; + int StartRun(int position) const; + int EndRun(int position) const; // Returns true if some values may have changed bool FillRange(int &position, int value, int &fillLength); void SetValueAt(int position, int value); @@ -44,7 +44,7 @@ public: bool AllSameAs(int value) const; int Find(int value, int start) const; - void Check(); + void Check() const; }; #ifdef SCI_NAMESPACE |