diff options
Diffstat (limited to 'src/PerLine.h')
-rw-r--r-- | src/PerLine.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/PerLine.h b/src/PerLine.h index 70d0023e4..4bf1c88fd 100644 --- a/src/PerLine.h +++ b/src/PerLine.h @@ -112,6 +112,23 @@ public: int Lines(int line) const; }; +typedef std::vector<int> TabstopList; + +class LineTabstops : public PerLine { + SplitVector<TabstopList *> tabstops; +public: + LineTabstops() { + } + virtual ~LineTabstops(); + virtual void Init(); + virtual void InsertLine(int line); + virtual void RemoveLine(int line); + + bool ClearTabstops(int line); + bool AddTabstop(int line, int x); + int GetNextTabstop(int line, int x) const; +}; + #ifdef SCI_NAMESPACE } #endif |