From cac2d7ef4ec04021d201bfd3d0a831aca0686f82 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 16 Jan 2002 07:26:01 +0000 Subject: WrapLines performs scroll bar and top line maintenance. WrapLines called before ensuring a lin eis visible so doc<->visible mapping correct. When modification changes number of lines, NeedWrapping starts one line before. Horizontal scrolling disallowed even more when in wrap mode. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 3a02ebd2a..16dae7eac 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -276,7 +276,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void InvalidateCaret(); void NeedWrapping(int docLineStartWrapping=0); - bool WrapLines(int *goodTopLine); + bool WrapLines(); int SubstituteMarkerIfEmpty(int markerCheck, int markerDefault); void PaintSelMargin(Surface *surface, PRectangle &rc); -- cgit v1.2.3