void (int visualLine, boolean showInstantly) { myVisualLine = visualLine; if (myVisualLine == -1) return; int oldStartLine = myStartVisualLine; int oldEndLine = myEndVisualLine; myStartVisualLine = EditorMarkupModelImpl.fitLineToEditor(myEditor, myVisualLine - PREVIEW_LINES); myEndVisualLine = EditorMarkupModelImpl.fitLineToEditor(myEditor, myVisualLine + PREVIEW_LINES); isDirty |= oldStartLine != myStartVisualLine || oldEndLine != myEndVisualLine; }