aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-06-27 17:22:43 +1000
committernyamatongwe <unknown>2013-06-27 17:22:43 +1000
commit35639b0cec5c5e293355c8660a7f36dfb71b5651 (patch)
tree0f9d1f7d614ffda7ff98d5246aca5bfaaa013fd5 /src/Document.h
parent02e0b189ea2eb78f301b98fa2363943980a96a28 (diff)
downloadscintilla-mirror-35639b0cec5c5e293355c8660a7f36dfb71b5651.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.h1
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;