diff options
author | nyamatongwe <devnull@localhost> | 2007-10-10 11:30:14 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-10-10 11:30:14 +0000 |
commit | f8453890acd38f68249965fe05a4392b69b986e5 (patch) | |
tree | fdbdb1340f059a882a4bdf3b0f734b8b72793ebb /src/Document.h | |
parent | a71097b447b0391764c104f60d2bf52782e3ada7 (diff) | |
download | scintilla-mirror-f8453890acd38f68249965fe05a4392b69b986e5.tar.gz |
Detect and handle invalid byte sequences in UTF-8 mode by displaying each
individual invalid byte as a hex blob.
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 9143ec6e4..a36c4aafe 100644 --- a/src/Document.h +++ b/src/Document.h @@ -138,6 +138,7 @@ public: int ClampPositionIntoDocument(int pos); bool IsCrLf(int pos); int LenChar(int pos); + bool InGoodUTF8(int pos, int &start, int &end); int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true); // Gateways to modifying document |