[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: A problem with highlighting: matching blank lines
From: Dominik Haumann <dhdev () gmx ! de>
Date: 2005-02-07 10:16:51
Message-ID: 200502071116.53831.dhdev () gmx ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Monday 07 February 2005 10:11, Anders Lund wrote:
> Hi all,
> I was asked today how to match a blank line in a (RegExpr) highlight
> rule, but that is currently not possible, because blank lines are skipped
> in the parsing loop.
>
> My immediate thought is that we could add a switch in the form of a
> context attribute, similar to the lineend attribute. Sample:
>
> <context name="mailheader" ... blankline="parsebody" />
>
> In this example, a blank line would cause a switch to context
> 'parsebody'.
>
> Would anyone have problems with this? or a better suggestion?
hm no, but I like the idea even can imagine some points where it could be
useful.
--
Dominik
GPG Fingerprint: AC88 49E3 D8A5 0541 5B71 AC6E 29AA 1696 FF64 EDBC
User-Agent: KMail; Desktop: KDE; OS: Gentoo/Linux; *free software*
[Attachment #5 (application/pgp-signature)]
_______________________________________________
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