diff options
author | Yiğit Akçay <yigit.akcay@icloud.com> | 2024-01-25 23:05:59 +0300 |
---|---|---|
committer | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2024-02-28 10:37:50 +0100 |
commit | a7dd2e5a4712083cc5934e1d677e7dff86ceb7e6 (patch) | |
tree | 06f78ac305dd36215bbf8108d26328c57aff43db /officecfg/registry/schema/org | |
parent | 9d3366f5b392418dc83bc0adbe3d215cff4b3605 (diff) |
tdf#151710 Enable enclosing of selected text with characters
This patch implements a new setting in Tools -> Options -> Writer ->
Formatting Aids -> Autocomplete -> Enclose with characters.
When this option is enabled (default), selected text is enclosed
with parentheses, square brackets, curly braces or quotation marks,
depending on which character is pressed.
For example, if the selected text is "abcd", the option is enabled and
the button for the character '(' is hit, the text is replaced with
"(abcd)".
Change-Id: Ibc5b7be3cc96f00217dd068971e7c07e68439700
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162583
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Tested-by: Jenkins
Diffstat (limited to 'officecfg/registry/schema/org')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Writer.xcs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs index 22f1481286b9..8497cc87bb67 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs @@ -2061,6 +2061,19 @@ </prop> </group> </group> + <group oor:name="FmtAidsAutocomplete"> + <info> + <desc>Contains formatting aids auto complete options.</desc> + </info> + <prop oor:name="EncloseWithCharacters" oor:type="xs:boolean" oor:nillable="false"> + <!-- UIHints: Tools - Options - Formatting Aids - Enclose with characters --> + <info> + <desc>Specifies whether selected text will be enclosed with parentheses, square brackets, curly braces or quotation marks, depending on which button is pressed.</desc> + <label>Enclose with characters</label> + </info> + <value>true</value> + </prop> + </group> <group oor:name="Revision"> <info> <desc>Contains settings for change recording.</desc> |