AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.lineHeightsChanged();
public void propertyChange(PropertyChangeEvent e) { String name = e.getPropertyName(); // If they change the text area's font, we need to update cell // heights to match the font's height. if ("font".equals(name) || RSyntaxTextArea.SYNTAX_SCHEME_PROPERTY.equals(name)) { for (int i=0; i<getComponentCount(); i++) { AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.lineHeightsChanged(); } } }
public void propertyChange(PropertyChangeEvent e) { String name = e.getPropertyName(); // If they change the text area's font, we need to update cell // heights to match the font's height. if ("font".equals(name) || RSyntaxTextArea.SYNTAX_SCHEME_PROPERTY.equals(name)) { for (int i=0; i<getComponentCount(); i++) { AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.lineHeightsChanged(); } } }
AbstractGutterComponent agc = (AbstractGutterComponent)getComponent(i); agc.lineHeightsChanged();