diff options
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 399e65976..fbb0b694c 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1065,11 +1065,15 @@ void Editor::ScrollTo(int line, bool moveThumb) {  		SetTopLine(topLineNew);  		ShowCaretAtCurrentPosition();  		// Perform redraw rather than scroll if many lines would be redrawn anyway. +#ifndef UNDER_CE  		if (abs(linesToMove) <= 10) {  			ScrollText(linesToMove);  		} else {  			Redraw();  		} +#else +		Redraw(); +#endif  		if (moveThumb) {  			SetVerticalScrollPos();  		}  | 
