Bug 325035 - Autobrackets fail to add brackets around selection
Summary: Autobrackets fail to add brackets around selection
Status: RESOLVED DUPLICATE of bug 350317
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.10.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 08:08 UTC by Henrikki Almusa
Modified: 2015-10-08 11:23 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 Henrikki Almusa 2013-09-18 08:08:51 UTC
I have autobrackets turned on from the plugin. Previously if you selected a section and added brackets '([{' or hyphenation '," then the selected text was enclosed by the brackets. After upgrading to latest kubuntu (13.04) with KDE 4.10.5 this function no longer works.

Searching for this problem only showed two old bugs which were closed years ago.

Reproducible: Always

Steps to Reproduce:
1. Turn on autobrackets and hyphenation from plugin.
2. Select a text.
3. Add brackets.
Actual Results:  
Selection was replaced by brackets.

Expected Results:  
Selection should be enclosed by brackets.
Comment 1 Mihai RUSU 2014-06-27 23:02:29 UTC
I'm experiencing this regression on KDE 4.13 (on Ubuntu 14.04 after having upgraded from 12.04 which had the brackets surrounding selected text functionality). Please fix this this, thanks!
Comment 2 Christoph Cullmann 2015-10-08 11:23:26 UTC
That is fixed now in ktexteditor master again. Should be ok for people after
frameworks 5.16 is out in a month.
ATM only basic stuff works like the adding of closing brackets automatically
and what you requested here => selection will be sourounded by brackets.

commits are found in bug 350317

*** This bug has been marked as a duplicate of bug 350317 ***