aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-11-06 08:33:47 +0000
committernyamatongwe <unknown>2003-11-06 08:33:47 +0000
commit18f99b99b3209aee3daa295aad70ef3f0a086552 (patch)
treee7813832299f7367c1b4c0eceabfe27a26a087f2 /src/Editor.cxx
parent13a33765368eb68820d650c3146888103ed1d3f0 (diff)
downloadscintilla-mirror-18f99b99b3209aee3daa295aad70ef3f0a086552.tar.gz
More checking for background wrap enabled.
Shorter time between timer ticks.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 9cf3c31b3..2331e64e0 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -1411,7 +1411,7 @@ void Editor::NeedWrapping(int docLineStartWrapping, int docLineEndWrapping) {
docLastLineToWrap = pdoc->LinesTotal();
}
// Wrap lines during idle.
- if (docLastLineToWrap != docLineLastWrapped) {
+ if (backgroundWrapEnabled && docLastLineToWrap != docLineLastWrapped ) {
SetIdle(true);
}
}