[Libreoffice-commits] core.git: scripting/java
Chirag Manwani
cmkmanwani at gmail.com
Wed Feb 17 07:34:38 UTC 2016
scripting/java/com/sun/star/script/framework/provider/beanshell/PlainSourceView.java | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 38969497cbccacf2999d92b06a85946c1f71be05
Author: Chirag Manwani <cmkmanwani at gmail.com>
Date: Wed Feb 17 02:52:45 2016 +0530
tdf#97640 Fixed-Width Font for Beanshell Editor
Change-Id: I809253a4f0481c825368d9c608cac77e64376aa0
Reviewed-on: https://gerrit.libreoffice.org/22404
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
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 34aac4c..91e7b91 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
@@ -98,6 +98,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()));
linecount = ta.getLineCount();
gg = new GlyphGutter(this);
More information about the Libreoffice-commits
mailing list