From 280d4662920a6b6042a90dad59df43815d946e24 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 20 Sep 2003 04:06:28 +0000 Subject: Patch from Naba to perform incremental wrapping in idle time. --- src/Editor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index d0dfcccc1..24bc20765 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -345,8 +345,8 @@ protected: // ScintillaBase subclass needs access to much of Editor void DropCaret(); void InvalidateCaret(); - void NeedWrapping(int docLineStartWrapping=0); - bool WrapLines(); + void NeedWrapping(int docLineStartWrapping = 0, int docLineEndWrapping = 0x7ffffff); + bool WrapLines(bool fullWrap, int priorityWrapLineStart); void LinesJoin(); void LinesSplit(int pixelWidth); @@ -466,7 +466,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void Tick(); bool Idle(); virtual void SetTicking(bool on) = 0; - virtual void SetIdle(bool on) = 0; + virtual bool SetIdle(bool) { return false; } virtual void SetMouseCapture(bool on) = 0; virtual bool HaveMouseCapture() = 0; void SetFocusState(bool focusState); -- cgit v1.2.3