aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-06-14 12:56:07 +0000
committernyamatongwe <devnull@localhost>2007-06-14 12:56:07 +0000
commit27b201e64429509fc1dae5a244624f6ef8be591e (patch)
tree71f4185e78eef123191f1abb8ffd9eeaa2478d07 /src/Editor.cxx
parent0531f0fca7d82be735e4217d489d54bae448b9c0 (diff)
downloadscintilla-mirror-27b201e64429509fc1dae5a244624f6ef8be591e.tar.gz
Fixing position cache size setting and documenting the position cache.
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 6af15a297..f96ef1bfc 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -6379,7 +6379,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
return llc.GetLevel();
case SCI_SETPOSITIONCACHE:
- posCache.SetSize(0x400);
+ posCache.SetSize(wParam);
break;
case SCI_GETPOSITIONCACHE: