[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 261746] New: Multi-line snippets don't maintain proper
From:       craig zheng <craig.zheng () gmail ! com>
Date:       2010-12-31 19:12:06
Message-ID: bug-261746-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=261746

           Summary: Multi-line snippets don't maintain proper indentation
           Product: kate
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kwrite-devel@kde.org
        ReportedBy: craig.zheng@gmail.com


Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Trying to use multi-line snippets (XSLT, HTML) results in the snippet being
pasted into the document without any indentation (even if pasting into an
already-indented line), whereas single-line snippets paste at the proper level.

Reproducible: Always

Steps to Reproduce:
Create a multi-line snippet in Kate with its own indentation. Something like:

<xsl:if test="">
    <p>Do something</p>
</xsl:if>

Then try to use that snippet at a location in a document that's already
indented.

Actual Results:  
 <xsl:if test="">
    <p>Do something</p>
</xsl:if>

Expected Results:  
    <xsl:if test="">
        <P>Do something</p>
    </xsl:if>

OS: Linux (x86_64) release 2.6.35-24-generic
Compiler: cc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic