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

List:       kwrite-devel
Subject:    [Bug 274289] New: katepart: syntax engine unable to match empty line
From:       Diggory Hardy <diggory.hardy () gmail ! com>
Date:       2011-05-27 15:18:08
Message-ID: bug-274289-4792 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: katepart: syntax engine unable to match empty line
           Product: kate
           Version: unspecified
          Platform: Debian unstable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: syntax
        AssignedTo: kwrite-devel@kde.org
        ReportedBy: diggory.hardy@gmail.com


Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

In a katepart syntax highlighting file, I would expect to have some rule
capable of matching empty lines. If I try the following:

<RegExpr String="^\s*$" attribute="common" context="#pop"/>

it only matches a line containing at least one space. I can't see any other
rule which will match empty lines. Could this be fixed such that the above
matches an empty line, please?

P.S. this is also mentioned in #243740.

Reproducible: Always

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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