Lines Matching defs:m_nCurLine
108 size_t GetCurrentLine() const { return m_nCurLine; }
109 void GoToLine(size_t n) { m_nCurLine = n; }
110 bool Eof() const { return m_nCurLine == m_aLines.size(); }
117 // 'mutable' keyword yet (m_nCurLine should be mutable)
119 { return m_aLines.empty() ? ms_eof : m_aLines[m_nCurLine = 0]; }
121 { return ++m_nCurLine == m_aLines.size() ? ms_eof
122 : m_aLines[m_nCurLine]; }
124 { wxASSERT(m_nCurLine > 0); return m_aLines[--m_nCurLine]; }
126 { m_nCurLine = m_aLines.size() - 1; return m_aLines.Last(); }
160 void Clear() { m_aLines.clear(); m_aTypes.clear(); m_nCurLine = 0; }
175 wxTextBuffer() { m_nCurLine = 0; m_isOpened = false; }
197 size_t m_nCurLine; // number of current line in the buffer