diff options
author | nyamatongwe <devnull@localhost> | 2013-01-19 11:17:27 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-01-19 11:17:27 +1100 |
commit | 46ff1fe3d148b9d131788be6b4d7da8daa65189c (patch) | |
tree | 345490577d8f395312d6fce1d8925ce21cdd215a /src/Document.h | |
parent | 5a13b76c4ba92e4e47cac86d8d7d2617c60aa856 (diff) | |
download | scintilla-mirror-46ff1fe3d148b9d131788be6b4d7da8daa65189c.tar.gz |
To allow for new line end sequences implement IsPositionInLineEnd on the
document and use it instead of checks for particular byte values.
Use equivalent checks against numCharsBeforeEOL in other contexts.
When line ends visible, display byte value blobs for non-ASCII line ends.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index 2830d626e..592d2ecb9 100644 --- a/src/Document.h +++ b/src/Document.h @@ -343,6 +343,7 @@ public: int SCI_METHOD LineEnd(int line) const; int LineEndPosition(int position) const; bool IsLineEndPosition(int position) const; + bool IsPositionInLineEnd(int position) const; int VCHomePosition(int position) const; int SCI_METHOD SetLevel(int line, int level); |