diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2015-11-02 21:43:24 -0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-10 11:54:27 +0000 |
commit | e2bfbfcb809329b9ed0bdd2fee14f343ca3603dd (patch) | |
tree | d3608f5b5b4056d81d28985237dbdebee8c8621f /starmath/inc | |
parent | 66094c6ab5776d0ce871621922b90140e01982a6 (diff) |
tdf#43090: Add option to disable auto close brackets
As many users asked, now there is a checkbox inside Tools->Math
called "Auto close brackets, parentheses and braces". This option is
enabled by default, but can be turned off now.
Change-Id: I6f96201c0720fb62fc2dce99222f97194e930fbe
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/19750
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/dialog.hxx | 1 | ||||
-rw-r--r-- | starmath/inc/starmath.hrc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index 16cf98d3857e..4e7f374268ae 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -61,6 +61,7 @@ class SmPrintOptionsTabPage : public SfxTabPage VclPtr<MetricField> m_pZoom; VclPtr<CheckBox> m_pNoRightSpaces; VclPtr<CheckBox> m_pSaveOnlyUsedSymbols; + VclPtr<CheckBox> m_pAutoCloseBrackets; DECL_LINK_TYPED(SizeButtonClickHdl, Button *, void); diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc index 9a64513dfd91..cefa6c538a20 100644 --- a/starmath/inc/starmath.hrc +++ b/starmath/inc/starmath.hrc @@ -75,6 +75,7 @@ #define SID_NO_RIGHT_SPACES (SID_SMA_START + 124) #define SID_SAVE_ONLY_USED_SYMBOLS (SID_SMA_START + 125) #define SID_ELEMENTSDOCKINGWINDOW (SID_SMA_START + 126) +#define SID_AUTO_CLOSE_BRACKETS (SID_SMA_START + 127) #define RID_PRINTUIOPTIONS (RID_APP_START + 11) |