|
|
|
@ -156,6 +156,8 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
private DefaultCompletionProvider completionProvider; |
|
|
|
|
private static final Map<String, String> PARAM_PREFIX_MAP = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
public static final int DESCRIPTION_TEXT_AREA_ROW = 16, DESCRIPTION_TEXT_AREA_COLUMN = 27; |
|
|
|
|
|
|
|
|
|
public FormulaPane() { |
|
|
|
|
initComponents(); |
|
|
|
|
} |
|
|
|
@ -1194,8 +1196,7 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
|
|
|
|
|
private void initDescriptionTextArea() { |
|
|
|
|
// Description
|
|
|
|
|
descriptionTextArea = new UITextArea(); |
|
|
|
|
|
|
|
|
|
descriptionTextArea = new UITextArea(DESCRIPTION_TEXT_AREA_ROW,DESCRIPTION_TEXT_AREA_COLUMN); |
|
|
|
|
descriptionTextArea.setBackground(Color.white); |
|
|
|
|
descriptionTextArea.setLineWrap(true); |
|
|
|
|
descriptionTextArea.setWrapStyleWord(true); |
|
|
|
@ -1278,7 +1279,6 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
initDescriptionTextArea(); |
|
|
|
|
|
|
|
|
|
UIScrollPane desScrollPane = new UIScrollPane(descriptionTextArea); |
|
|
|
|
desScrollPane.setPreferredSize(descriptionTextArea.getPreferredSize()); |
|
|
|
|
desScrollPane.setBorder(null); |
|
|
|
|
panel.add(this.createNamePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_FormulaPane_Formula_Description") + ":", desScrollPane), BorderLayout.CENTER); |
|
|
|
|
initVariablesTreeSelectionListener(); |
|
|
|
|