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