From a3fd4afaf184d4b5991ec3423addeed2c42e727d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 24 Feb 2001 07:02:36 +0000 Subject: Patch from Jan Hercek to fix folding by using the display line rather than the document line when evaluating the visibility policy. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') 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; -- cgit v1.2.3