diff options
| author | nyamatongwe <devnull@localhost> | 2013-06-27 17:22:43 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2013-06-27 17:22:43 +1000 |
| commit | e4e994107dfed34034380947b2b1911d3f614045 (patch) | |
| tree | 81578c7d2a39d5c376e75b2825c8d00be62d5451 /src/Document.h | |
| parent | 915a2dba75e8eabe945d9da033fb32603a82d61b (diff) | |
| download | scintilla-mirror-e4e994107dfed34034380947b2b1911d3f614045.tar.gz | |
Bug: [#1483]. Adding StyleContext::GetRelativeCharacter for character-oriented access.
Implemented using new method IDocumentWithLineEnd::GetRelativePosition.
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 f3b49e1fe..8eb8db74a 100644 --- a/src/Document.h +++ b/src/Document.h @@ -279,6 +279,7 @@ public: int MovePositionOutsideChar(int pos, int moveDir, bool checkLineEnd=true); int NextPosition(int pos, int moveDir) const; bool NextCharacter(int &pos, int moveDir) const; // Returns true if pos changed + int SCI_METHOD GetRelativePosition(int start, int characterOffset, int *character, int *width) const; int SCI_METHOD CodePage() const; bool SCI_METHOD IsDBCSLeadByte(char ch) const; int SafeSegment(const char *text, int length, int lengthSegment) const; |
