Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LineNumbersRuler font doesn't follow JEditorPane font #189

Open
GoogleCodeExporter opened this issue Sep 22, 2015 · 0 comments
Open

LineNumbersRuler font doesn't follow JEditorPane font #189

GoogleCodeExporter opened this issue Sep 22, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. do the example script shown on the code.google.site
2. add a button to reset the editor font property
3. push the button

What is the expected output? What do you see instead?
The font should follow the editor font, but instead the editor bar stays the 
same size while the editor adjusts.  Lots of editors allow ctrl+minus and 
ctrl+plus to quickly adjust the size (including the new netbeans).

What version of the product are you using? On what operating system?
all

Please provide any additional information below.
I put a listener in to the install method, which seems to work fine, at around 
LineNumbersRuler.java line 130:
                editor.addPropertyChangeListener( "font", new PropertyChangeListener() {
                    @Override
                    public void propertyChange(PropertyChangeEvent evt) {
                        setFont( editor.getFont());
                    }
                });

Original issue reported on code.google.com by [email protected] on 24 Aug 2012 at 11:52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant