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 /include | |
| 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 'include')
| -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 }; |
