diff options
author | nyamatongwe <unknown> | 2010-02-25 06:35:20 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-02-25 06:35:20 +0000 |
commit | bdec44b2f750389d5e14ff9025baed126004a1d6 (patch) | |
tree | 4e9670d3660eec06fc2607b8abc0971ab3f08a89 /src | |
parent | 4270edac726eeff0039af09fbd19e220f1a8c712 (diff) | |
download | scintilla-mirror-bdec44b2f750389d5e14ff9025baed126004a1d6.tar.gz |
Fix for bug #2958043 Text disappears when the "wrap" option is on
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index f9f02788a..d09187f10 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3733,7 +3733,11 @@ void Editor::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) { if (wrapState != eWrapNone) { AutoSurface surface(this); if (surface) { - WrapOneLine(surface, pdoc->LineFromPosition(positionInsert)); + if (WrapOneLine(surface, pdoc->LineFromPosition(positionInsert))) { + SetScrollBars(); + SetVerticalScrollPos(); + Redraw(); + } } } } |