From db320f1668fceec9c625ac5ccdf9864200386f0e Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 12 Dec 2022 22:29:05 +1100 Subject: Reorder arguments to drawing functions to be consistent. Make methods private or make into functions where possible to hide more implementation. Reorder methods and functions so related code closer and header and implementation match order. Use unnamed namespace instead of static. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index 9a98b470c..3bf50b09e 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1819,7 +1819,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { return; } - view.PaintText(surfaceWindow, *this, rcArea, rcClient, vs); + view.PaintText(surfaceWindow, *this, vs, rcArea, rcClient); if (horizontalScrollBarVisible && trackLineWidth && (view.lineWidthMaxSeen > scrollWidth)) { scrollWidth = view.lineWidthMaxSeen; -- cgit v1.2.3