[Libreoffice-bugs] [Bug 112898] Missing bracket matching support

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 6 13:42:48 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=112898

--- Comment #6 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Samuel Mehrbrodt (CIB) from comment #4)
> (I guess this is for Basic IDE and not for documents ?! )

Where we already provide the Find Parentheses button which: "Highlights the
text that is enclosed by two corresponding brackets. Place the text cursor in
front of an opening or closing bracket, and then click this icon." But, its
.uno:MatchGroup() command looks to be available to edit engine in general
[1][2].

Also have the input handler for Calc formulas where parenthesis bracket matched
[3]

The logic for both is rudimentary. Calc auto-highlights matching parens, and
for BasicIDE edit is limited to matching parens, braces, brackets with a button
action toggle.  Could provide a similar button toggle for general text entry.
But would not expect, nor want the matches enabled by default in the general
UI.

Beyond that, an automated display during text editing would need either an
Expert configuration stanza or an toggle entry in the Options -> View panel, or
maybe the Wrtiting Aids -> Options panel

=-ref-=
[1]
https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu#1680

[2] https://opengrok.libreoffice.org/xref/core/vcl/source/edit/xtextedt.cxx#30

[3]
https://opengrok.libreoffice.org/xref/core/sc/source/ui/app/inputhdl.cxx#1759

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171006/057179e4/attachment.html>


More information about the Libreoffice-bugs mailing list