<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>347645</bug_id>
          
          <creation_ts>2015-05-13 00:48:21 +0000</creation_ts>
          <short_desc>auto-brackets option is missing and Auto Braces fails to give acceptable behavior.</short_desc>
          <delta_ts>2015-10-08 15:37:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>kwrite</component>
          <version>unspecified</version>
          <rep_platform>Debian stable</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>350317</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>grave</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="george.embrey@covirtual.net">george.embrey</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>christoph</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1518307</commentid>
    <comment_count>0</comment_count>
    <who name="george.embrey@covirtual.net">george.embrey</who>
    <bug_when>2015-05-13 00:48:21 +0000</bug_when>
    <thetext>In previous versions of kwrite / kate / kdevelop, auto-brackets allowed text to be highlighted, then encased between quotes (double and single), brackets, braces and square brackets.  The current version of kwrite in Debian Jessie is 4.14.2 and the auto-brackets functionality is missing.

The Auto-Braces plugin DOES NOT provide equivalent or acceptible behavior for a professional programmer&apos;s editor.  How can I quickly restore the previous behavior to my favorite editing IDE as the current version is costing me money?

Reproducible: Always

Steps to Reproduce:
1. With Auto Braces turned on (auto-brackets is no longer available), type a few words of text.
2. Highlight a portion of text then press any of the following keys &quot; &apos; [ ( {
3. Instead of the highlighted text being encased between the chosen quotes or brackets / braces, the quotes or brackets / braces appear and the text is gone.

example: Type the following text: The Fat Cat
Now with the mouse or keyboard select the words Fat Cat then press the &quot; key

Actual Results:  
The &quot;&quot;

Expected Results:  
The &quot;Fat Cat&quot;

Kate / Kdevelop have served me well for the past 7 years and without auto-brackets it is now seriously broken,  I use the earlier versions on several of my computer systems and none of these have the issue.

Please replace the Auto Braces plugin with one that enables the correct behavior of preserving selected text when using brackets, or restore the code for auto-braces.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548895</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2015-10-08 11:20:59 +0000</bug_when>
    <thetext>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 =&gt; selection will be sourounded by brackets.

commits are found in bug 350317

*** This bug has been marked as a duplicate of bug 350317 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1548964</commentid>
    <comment_count>2</comment_count>
    <who name="george.embrey@covirtual.net">george.embrey</who>
    <bug_when>2015-10-08 15:37:18 +0000</bug_when>
    <thetext>Are there any patches which can be backported to kdevelop 4.7.0 or kate 3.14.2 (Using KDE Development Platform 4.14.2)  to get them working correctly as I really don&apos;t want to wait for Debian 9 or 10 to get my editors working correctly again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>