Bug 355260 - AutoBrace extension has strange behaviour for several braces compared to parenthesis or brackets
Summary: AutoBrace extension has strange behaviour for several braces compared to pare...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: 3.13.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-12 17:29 UTC by Celso
Modified: 2016-05-28 19:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.