diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java index e7d71d3869ee..ec2a56d8c3f1 100644 --- a/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java +++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java @@ -137,7 +137,7 @@ public class PlainSourceView extends JScrollPane implements ta.setColumns(40); ta.setLineWrap(false); ta.insert(model.getText(), 0); - ta.setFont(new Font(Font.MONOSPACED, ta.getFont().getStyle(), ta.getFont().getSize())); + ta.setFont(new Font("Monospaced", ta.getFont().getStyle(), ta.getFont().getSize())); undoManager = new UndoManager(); undoManager.setLimit(noLimit); ta.getDocument().addUndoableEditListener(new UndoableEditListener(){ |