From kwrite-devel Mon Feb 07 10:16:51 2005 From: Dominik Haumann Date: Mon, 07 Feb 2005 10:16:51 +0000 To: kwrite-devel Subject: Re: A problem with highlighting: matching blank lines Message-Id: <200502071116.53831.dhdev () gmx ! de> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=110777142610424 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0381460401==" --===============0381460401== Content-Type: multipart/signed; boundary="nextPart3881634.OfGzuNg4ll"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3881634.OfGzuNg4ll Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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: > > > > 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=20 useful. =2D-=20 Dominik GPG Fingerprint: AC88 49E3 D8A5 0541 5B71 AC6E 29AA 1696 FF64 EDBC User-Agent: KMail; Desktop: KDE; OS: Gentoo/Linux; *free software* --nextPart3881634.OfGzuNg4ll Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) iD8DBQBCB0AVKaoWlv9k7bwRAtROAJ0QvOQQYA0jTSIuoz05Skde/0+iGQCfdCre 4UiObRtu6N+RuXo4mXMvwNc= =KqaG -----END PGP SIGNATURE----- --nextPart3881634.OfGzuNg4ll-- --===============0381460401== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============0381460401==--