diff options
author | nyamatongwe <unknown> | 2013-06-27 17:22:43 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-06-27 17:22:43 +1000 |
commit | 35639b0cec5c5e293355c8660a7f36dfb71b5651 (patch) | |
tree | 0f9d1f7d614ffda7ff98d5246aca5bfaaa013fd5 /include/ILexer.h | |
parent | 02e0b189ea2eb78f301b98fa2363943980a96a28 (diff) | |
download | scintilla-mirror-35639b0cec5c5e293355c8660a7f36dfb71b5651.tar.gz |
Bug: [#1483]. Adding StyleContext::GetRelativeCharacter for character-oriented access.
Implemented using new method IDocumentWithLineEnd::GetRelativePosition.
Diffstat (limited to 'include/ILexer.h')
-rw-r--r-- | include/ILexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ILexer.h b/include/ILexer.h index 1260c1373..9f9225ef2 100644 --- a/include/ILexer.h +++ b/include/ILexer.h @@ -48,6 +48,7 @@ public: class IDocumentWithLineEnd : public IDocument { public: virtual int SCI_METHOD LineEnd(int line) const = 0; + virtual int SCI_METHOD GetRelativePosition(int start, int characterOffset, int *character, int *width) const = 0; }; enum { lvOriginal=0, lvSubStyles=1 }; |