diff options
| author | nyamatongwe <devnull@localhost> | 2010-09-16 10:31:20 +1000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-09-16 10:31:20 +1000 | 
| commit | e534f677b047909df92e63c9cad0174b435a955e (patch) | |
| tree | 9d7327244a8466b64c1c4738ca1f2f2462f1add1 /src/Document.h | |
| parent | 445d15200d654c4f961d80f112738ec46a05ffa7 (diff) | |
| download | scintilla-mirror-e534f677b047909df92e63c9cad0174b435a955e.tar.gz | |
Making methods const when they should be.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Document.h b/src/Document.h index c7ff8e069..d58c5efe5 100644 --- a/src/Document.h +++ b/src/Document.h @@ -228,9 +228,9 @@ public:  	int ClampPositionIntoDocument(int pos);  	bool IsCrLf(int pos);  	int LenChar(int pos); -	bool InGoodUTF8(int pos, int &start, int &end); +	bool InGoodUTF8(int pos, int &start, int &end) const;  	int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true); -	int NextPosition(int pos, int moveDir); +	int NextPosition(int pos, int moveDir) const;  	bool NextCharacter(int &pos, int moveDir);	// Returns true if pos changed  	int SCI_METHOD CodePage() const;  	bool SCI_METHOD IsDBCSLeadByte(char ch) const;  | 
