|
|
@ -3347,6 +3347,7 @@ void ScintillaEditView::scrollPosToCenter(size_t pos)
|
|
|
|
middleLine = lastVisibleDocLine - nbLine/2;
|
|
|
|
middleLine = lastVisibleDocLine - nbLine/2;
|
|
|
|
int nbLines2scroll = line - middleLine;
|
|
|
|
int nbLines2scroll = line - middleLine;
|
|
|
|
scroll(0, nbLines2scroll);
|
|
|
|
scroll(0, nbLines2scroll);
|
|
|
|
|
|
|
|
execute(SCI_ENSUREVISIBLEENFORCEPOLICY, line);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ScintillaEditView::hideLines()
|
|
|
|
void ScintillaEditView::hideLines()
|
|
|
|