Bug 355260

Summary: AutoBrace extension has strange behaviour for several braces compared to parenthesis or brackets
Product: [Applications] kate Reporter: Celso <ccnishi>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph, mail
Priority: NOR    
Version First Reported In: 3.13.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Celso 2015-11-12 17:29:10 UTC
KWrite Version 4.13.3 - same behaviour for Kate

With the AutoBrace extension activated,
when writing two braces {{ for LaTeX only the first one gets automatically closed.
This is not the behaviour for (( or [[ which get closed right.
The same happens if you write something in between the two braces.
Annoyingly, when you try to close it manually, the first closing brace vanishes.
You can only close the brace after the rightmost brace.


Reproducible: Always

Steps to Reproduce:
1. With AutoBrace extension on type {bla{bla
2.
3.

Actual Results:  
{bla{bla}

Expected Results:  
{bla{bla}}

NOTE: for parentheses () and brackets [] it works fine.
It is only for the braces {} that it fails.
Comment 1 Francis Herne 2016-02-25 10:35:04 UTC
This works for me using Kate 15.12.2, KatePart 5.19.0.
Comment 2 Christoph Cullmann 2016-05-28 19:20:07 UTC
> This works for me using Kate 15.12.2, KatePart 5.19.0.
Then we can close this, the old version won't get fixes anymore, sorry.