From quanta-devel Thu Mar 03 19:04:43 2005 From: Andras Mantia Date: Thu, 03 Mar 2005 19:04:43 +0000 To: quanta-devel Subject: Re: [quanta-devel] where does a tag start in CSS? Message-Id: <200503032104.47957.amantia () kde ! org> X-MARC-Message: https://marc.info/?l=quanta-devel&m=110987662707801 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1259066207==" --===============1259066207== Content-Type: multipart/signed; boundary="nextPart4874411.g53s472FHs"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart4874411.g53s472FHs Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 03 March 2005 16:40, Jens Herden wrote: > > For parsing purposed this is enough, especially that there only the > > { } areas are defined, the rest is simply text. > > For parsing ok but for selecting it is quite unusual. =46eel free to improve it. ;-) The code in question is: bool SAParser::slotParseOneLine() which detects the structures ({ }) and the SAGroupParser which in the nodes detects the structure groups=20 (functions, classes, selectors, etc). > This example gives another odd thing: > the structure tree does not show the content of the first { } only > from the second! Indeed, this looks like a bug. > I can select the area in the second { } when I use=20 > "Select Current Tag Area" but not in the first { } area. > > The parsers seems to have problems to recognize the first selector > correct. I will try to fix it (for 3.4.1). Andras =2D-=20 Quanta Plus developer - http://quanta.sourceforge.net K Desktop Environment - http://www.kde.org --nextPart4874411.g53s472FHs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCJ1/PTQdfac6L/08RAgA9AKDJWHQ9BYJzmtJXqKpYg14z3crfsQCg1S5n QCL4z1lU5r0Qr2FFnE43caw= =VF67 -----END PGP SIGNATURE----- --nextPart4874411.g53s472FHs-- --===============1259066207== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ quanta-devel mailing list quanta-devel@kde.org https://mail.kde.org/mailman/listinfo/quanta-devel --===============1259066207==--