Rename paintTextAndSel to paintStringAndSel

This commit is contained in:
Jean-Marc Lasgouttes 2015-07-15 22:47:47 +02:00
parent 75640b66e5
commit 6c8520f100
2 changed files with 3 additions and 3 deletions

View File

@ -244,7 +244,7 @@ void RowPainter::paintMisspelledMark(double const orig_x,
}
void RowPainter::paintTextAndSel(docstring const & str, Font const & font,
void RowPainter::paintStringAndSel(docstring const & str, Font const & font,
Change const & change,
pos_type start_pos, pos_type end_pos)
{
@ -348,7 +348,7 @@ void RowPainter::paintFromPos(pos_type & vpos, bool changed)
}
// Actually paint the text, taking care about the selection
paintTextAndSel(str, font, change_running, start_pos, pos);
paintStringAndSel(str, font, change_running, start_pos, pos);
// The line that indicates word in a different language
paintForeignMark(orig_x, font.language());

View File

@ -76,7 +76,7 @@ public:
private:
void paintSeparator(double orig_x, double width, FontInfo const & font);
void paintForeignMark(double orig_x, Language const * lang, int desc = 0) const;
void paintTextAndSel(docstring const & str, Font const & font,
void paintStringAndSel(docstring const & str, Font const & font,
Change const & change,
pos_type start_pos, pos_type end_pos);
void paintMisspelledMark(double orig_x,