aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-05-24 00:04:54 +1000
committernyamatongwe <devnull@localhost>2013-05-24 00:04:54 +1000
commit44da106995e3b3ca4068f584c16f59d8fced4e69 (patch)
tree72512a72ac08ef47a2f40d9b30b0f208a245fda0 /src/PerLine.h
parent2345e207b44f01e09d8dba69a37b9a67eeefa884 (diff)
downloadscintilla-mirror-44da106995e3b3ca4068f584c16f59d8fced4e69.tar.gz
Made methods const where they can be and are logically const as well.
Diffstat (limited to 'src/PerLine.h')
-rw-r--r--src/PerLine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PerLine.h b/src/PerLine.h
index 646924ee0..70d0023e4 100644
--- a/src/PerLine.h
+++ b/src/PerLine.h
@@ -72,7 +72,7 @@ public:
void ExpandLevels(int sizeNew=-1);
void ClearLevels();
int SetLevel(int line, int level, int lines);
- int GetLevel(int line);
+ int GetLevel(int line) const;
};
class LineState : public PerLine {
@@ -87,7 +87,7 @@ public:
int SetLineState(int line, int state);
int GetLineState(int line);
- int GetMaxLineState();
+ int GetMaxLineState() const;
};
class LineAnnotation : public PerLine {
@@ -101,7 +101,7 @@ public:
virtual void RemoveLine(int line);
bool MultipleStyles(int line) const;
- int Style(int line);
+ int Style(int line) const;
const char *Text(int line) const;
const unsigned char *Styles(int line) const;
void SetText(int line, const char *text);