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/PerLine.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/PerLine.h')
| -rw-r--r-- | src/PerLine.h | 6 | 
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); | 
