diff options
author | nyamatongwe <devnull@localhost> | 2013-05-24 00:04:54 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-05-24 00:04:54 +1000 |
commit | 44da106995e3b3ca4068f584c16f59d8fced4e69 (patch) | |
tree | 72512a72ac08ef47a2f40d9b30b0f208a245fda0 /src/RunStyles.h | |
parent | 2345e207b44f01e09d8dba69a37b9a67eeefa884 (diff) | |
download | scintilla-mirror-44da106995e3b3ca4068f584c16f59d8fced4e69.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 |