line marking fix

This commit is contained in:
Jindra Petk
2013-03-03 08:09:18 +01:00
parent 0710522405
commit 67081d8865

View File

@@ -47,6 +47,14 @@ public class LineMarkedEditorPane extends JEditorPane {
});
}
@Override
public void setText(String t) {
lastLine=-1;
super.setText(t);
}
@Override
public void paint(Graphics g) {
g.setColor(Color.white);