aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-02-24 07:02:36 +0000
committernyamatongwe <unknown>2001-02-24 07:02:36 +0000
commita3fd4afaf184d4b5991ec3423addeed2c42e727d (patch)
tree8a4c8f0866c1d9b0410e402b2630b706561bc783 /src/Editor.h
parent0dc7541bb34e597b830fc415bdf2773053c9d03d (diff)
downloadscintilla-mirror-a3fd4afaf184d4b5991ec3423addeed2c42e727d.tar.gz
Patch from Jan Hercek to fix folding by using the display line rather than
the document line when evaluating the visibility policy.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 115c21782..73d15e340 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -316,7 +316,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void Expand(int &line, bool doExpand);
void ToggleContraction(int line);
- void EnsureLineVisible(int line);
+ void EnsureLineVisible(int lineDoc);
virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) = 0;