From kwrite-devel Mon Feb 07 09:11:07 2005 From: Anders Lund Date: Mon, 07 Feb 2005 09:11:07 +0000 To: kwrite-devel Subject: A problem with highlighting: matching blank lines Message-Id: <200502071011.08480.anders () alweb ! dk> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=110776743006915 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? -anders -- www: http://alweb.dk jabber: anderslund@jabber.dk _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel