Hi all,<br><br>In Math's inline editing, closing braces ( ')', "]', '}' ) are literally inserted independent of the context.<br>This is not necessarily intuitive.<br>For example, when I type "( a b )", the result is "( a b ) )".<br>
<br><span style="font-family: courier new,monospace;">( : ( ?. )</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">( a : ( a. )</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">( a b : ( a b. )</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">( a b ) : ( a b ). )</span><br><br>Left: typed, Right: result<br>
Note: Dots denote the cursor position.<br><br>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.<br><br><span style="font-family: courier new,monospace;">( : ( ?. )</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">( a : ( a. )</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">( a b : ( a b. )</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">( a b ) : ( a b ).</span><br><br>I think this is more convenient and natural.<br>Reviews and comments are welcome.<br>The patch is available under LGPLv3+/MPL.<br><br>Thanks,<br>
<br>-- <br>Daisuke Nishino<br><br>