Lines Matching refs:LineIndex
45 /// at \p LineIndex, from byte offset \p Offset with length \p Length.
51 getLineLengthAfterSplit(unsigned LineIndex, unsigned Offset,
55 /// \p LineIndex, if previously broken at \p TailOffset. If possible, do not
57 virtual Split getSplit(unsigned LineIndex, unsigned TailOffset,
61 virtual void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
66 virtual void replaceWhitespace(unsigned LineIndex, unsigned TailOffset,
70 /// \brief Replaces the whitespace between \p LineIndex-1 and \p LineIndex.
71 virtual void replaceWhitespaceBefore(unsigned LineIndex,
94 virtual unsigned getLineLengthAfterSplit(unsigned LineIndex,
126 virtual Split getSplit(unsigned LineIndex, unsigned TailOffset,
128 virtual void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
130 virtual void replaceWhitespace(unsigned LineIndex, unsigned TailOffset,
145 virtual Split getSplit(unsigned LineIndex, unsigned TailOffset,
147 virtual void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
149 virtual void replaceWhitespace(unsigned LineIndex, unsigned TailOffset,
152 virtual void replaceWhitespaceBefore(unsigned LineIndex,
174 virtual unsigned getLineLengthAfterSplit(unsigned LineIndex,
177 virtual Split getSplit(unsigned LineIndex, unsigned TailOffset,
179 virtual void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
181 virtual void replaceWhitespace(unsigned LineIndex, unsigned TailOffset,
184 virtual void replaceWhitespaceBefore(unsigned LineIndex,
188 // Rearranges the whitespace between Lines[LineIndex-1] and Lines[LineIndex],
189 // so that all whitespace between the lines is accounted to Lines[LineIndex]
191 // - Lines[LineIndex] points to the text after that whitespace
192 // - Lines[LineIndex-1] shrinks by its trailing whitespace
193 // - LeadingWhitespace[LineIndex] is updated with the complete whitespace
194 // between the end of the text of Lines[LineIndex-1] and Lines[LineIndex]
197 // Lines[LineIndex] starts (note that the decoration, if present, is not
199 void adjustWhitespace(unsigned LineIndex, int IndentDelta);
201 // Returns the column at which the text in line LineIndex starts, when broken
204 unsigned getContentStartColumn(unsigned LineIndex, unsigned TailOffset) const;