diff options
| author | nyamatongwe <devnull@localhost> | 2010-02-25 06:35:20 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-02-25 06:35:20 +0000 | 
| commit | f9fa302704bccb8aa448f4124e1c4135a7b5e1a4 (patch) | |
| tree | 4e9670d3660eec06fc2607b8abc0971ab3f08a89 | |
| parent | 48ce8d42d1f83fbd5f0fb5ee9feb020fd9039c05 (diff) | |
| download | scintilla-mirror-f9fa302704bccb8aa448f4124e1c4135a7b5e1a4.tar.gz | |
Fix for bug #2958043 Text disappears when the "wrap" option is on
| -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(); +						}  					}  				}  			}  | 
