From 6c8520f100ec0e4d05fd51b25dcbf94b71039c4f Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 15 Jul 2015 22:47:47 +0200 Subject: [PATCH] Rename paintTextAndSel to paintStringAndSel --- src/RowPainter.cpp | 4 ++-- src/RowPainter.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 14760f8107..70c32aa9b7 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -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()); diff --git a/src/RowPainter.h b/src/RowPainter.h index f94bf04872..95c64269e5 100644 --- a/src/RowPainter.h +++ b/src/RowPainter.h @@ -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,