void () { ThreadingAssertions.assertEventDispatchThread(); myCharHeight = -1; myLineHeight = -1; myDescent = -1; myPlainFontMetrics = null; myCaretModel.reinitSettings(); mySelectionModel.reinitSettings(); mySettings.reinitSettings(); ourCaretThread.setBlinkCaret(mySettings.isBlinkCaret()); ourCaretThread.setBlinkPeriod(mySettings.getCaretBlinkPeriod()); mySizeContainer.reset(); myFoldingModel.refreshSettings(); myFoldingModel.rebuild(); myHighlighter.setColorScheme(myScheme); myGutterComponent.reinitSettings(); myGutterComponent.revalidate(); myEditorComponent.repaint(); updateCaretCursor(); }