diff options
author | nyamatongwe <unknown> | 2004-12-03 23:14:04 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-12-03 23:14:04 +0000 |
commit | 639c57612568acae901f268f45b4ac1c3e8cbff2 (patch) | |
tree | b00c6a12ff5733c205aa607c94521374b3511ac6 /src/Editor.cxx | |
parent | 8ddd9226d19199363ed00801adf7f95b43fd32b6 (diff) | |
download | scintilla-mirror-639c57612568acae901f268f45b4ac1c3e8cbff2.tar.gz |
Patch from Regis Vaquette to allow compilation for Windows CE.
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(); } |