int () { if (myLineHeight != -1) return myLineHeight; ThreadingAssertions.assertEventDispatchThread(); FontMetrics fontMetrics = myEditorComponent.getFontMetrics(myScheme.getFont(EditorFontType.PLAIN)); myLineHeight = (int)(fontMetrics.getHeight() * (isOneLineMode() ? 1 : myScheme.getLineSpacing())); if (myLineHeight == 0) { myLineHeight = fontMetrics.getHeight(); if (myLineHeight == 0) { myLineHeight = 12; } } return myLineHeight; }