From 8b609f7f8901b3ae3b8171a21858f35ae9703d15 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 25 Jul 2007 02:53:19 +0000 Subject: Fix bug #1404276 by wrapping the line which just had the character added before ensuring the caret is visible. Also sets scroll bar in case line added by wrapping. --- src/Editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 2115af7d9..049cc373f 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -299,6 +299,7 @@ protected: // ScintillaBase subclass needs access to much of Editor virtual void UpdateSystemCaret(); void NeedWrapping(int docLineStart = 0, int docLineEnd = wrapLineLarge); + bool WrapOneLine(Surface *surface, int lineToWrap); bool WrapLines(bool fullWrap, int priorityWrapLineStart); void LinesJoin(); void LinesSplit(int pixelWidth); -- cgit v1.2.3