diff options
| -rw-r--r-- | doc/ScintillaHistory.html | 3 | ||||
| -rw-r--r-- | src/Editor.cxx | 1 | 
2 files changed, 4 insertions, 0 deletions
| diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 01c9d44d6..b9b067600 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -590,6 +590,9 @@  	<a href="https://sourceforge.net/p/scintilla/bugs/2372/">Bug #2372</a>.  	</li>  	<li> +	Fix SCI_VERTICALCENTRECARET to update the vertical scroll position. +	</li> +	<li>  	On Cocoa fix character input bug where dotless 'i' and some other extended  	Latin characters could not be entered.  	The change also stops SCI_ASSIGNCMDKEY from working with these characters diff --git a/src/Editor.cxx b/src/Editor.cxx index 9620cc216..273d6db2a 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1010,6 +1010,7 @@ void Editor::VerticalCentreCaret() {  	const Sci::Line newTop = lineDisplay - (LinesOnScreen() / 2);  	if (topLine != newTop) {  		SetTopLine(newTop > 0 ? newTop : 0); +		SetVerticalScrollPos();  		RedrawRect(GetClientRectangle());  	}  } | 
