diff options
author | Neil <nyamatongwe@gmail.com> | 2013-06-29 20:32:52 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-06-29 20:32:52 +1000 |
commit | 1a05a259558efd7dffb118ca9b12257a1346d2ea (patch) | |
tree | ba1add8f0a55423febdb76ee76814d3c78d62fb3 /include/ILexer.h | |
parent | 557cf43ce45fff3d9af697bc19754428f1b5a6a6 (diff) | |
download | scintilla-mirror-1a05a259558efd7dffb118ca9b12257a1346d2ea.tar.gz |
Bug: [#1483]. Split GetRelativePosition into 2 calls one for moving between character
positions and the other for retrieving a character and width.
Diffstat (limited to 'include/ILexer.h')
-rw-r--r-- | include/ILexer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ILexer.h b/include/ILexer.h index 9f9225ef2..e93de819a 100644 --- a/include/ILexer.h +++ b/include/ILexer.h @@ -48,7 +48,8 @@ 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; + virtual int SCI_METHOD GetRelativePosition(int positionStart, int characterOffset) const = 0; + virtual int SCI_METHOD GetCharacterAndWidth(int position, int *pWidth) const = 0; }; enum { lvOriginal=0, lvSubStyles=1 }; |