ide: Online search improved

git-svn-id: svn://ultimatepp.org/upp/trunk@10373 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-10-28 10:14:55 +00:00
parent a95b6af5d6
commit 9e5481071f
8 changed files with 152 additions and 104 deletions

View file

@ -146,6 +146,7 @@ public:
int GetLineCount() const { return line.GetCount(); }
int GetChar(int pos) const;
int GetChar() const { return cursor < total ? GetChar(cursor) : 0; }
int operator[](int pos) const { return GetChar(pos); }
int GetLength() const { return total; }