From d9f1a1b042f9458f2d4a905f20b9547c4ac2be70 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 29 Jun 2013 20:32:52 +1000 Subject: Bug: [#1483]. Split GetRelativePosition into 2 calls one for moving between character positions and the other for retrieving a character and width. --- include/ILexer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 }; -- cgit v1.2.3