Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi all,

In Math's inline editing, closing braces ( ')', "]', '}' ) are literally
inserted independent of the context.
This is not necessarily intuitive.
For example, when I type "( a b )", the result is "( a b ) )".

(       : ( ?. )
( a     : ( a. )
( a b   : ( a b. )
( a b ) : ( a b ). )

Left: typed, Right: result
Note: Dots denote the cursor position.

I fixed so that when you are at the tail of the brace and typed the closing
brace, it does not insert anything but just move cursor out of the braces.

(       : ( ?. )
( a     : ( a. )
( a b   : ( a b. )
( a b ) : ( a b ).

I think this is more convenient and natural.
Reviews and comments are welcome.
The patch is available under LGPLv3+/MPL.

Thanks,

-- 
Daisuke Nishino

Attachment: 0002-Move-cursor-to-the-right-of-brace-when-the-clos.core.patch
Description: Binary data


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.