Re: css langauge support skeleton
Matt Rogers <[email protected]> Sat, 01 Aug 2009 13:42:37 -0500
| Newsgroups | gmane.comp.kde.devel.quanta |
|---|---|
| Organization | KDE |
| Message-ID | <[email protected]> |
--===============1973032226== Content-type: multipart/signed; boundary=nextPart2332901.ggmdAxOY2r; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit --nextPart2332901.ggmdAxOY2r Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Saturday 01 August 2009 01:13:55 am Niko Sams wrote: > Hi Saulo, > > As you want to help us on Quanta4 and you said css support is the first > thing on your list I created a new css language support here: > /trunk/playground/devtools/kdevelop4-extra-plugins/css/ > > You can checkout and start from there. The first and most important part > for proper css support is of course code completion. > For that you will find CodeCompletionModel in completion/model.cpp. > Documentation is here: > http://api.kde.org/4.x-api/kdelibs-apidocs/interfaces/ktexteditor/html/cl= as >sKTextEditor_1_1CodeCompletionModel.html > > Basically you have to do some string operations in completionInvoked() to > find out what completion items should be shown. For that you need somewhe= re > a list of valid css rules... > Nice would be to show what browser supports it. > > I'd test the plugin in KDevelop - as it's currently more stable then > Quanta. > > If you have any questions you know where you can find me :D > > much fun, > Niko Awesome Niko! Thanks! I was getting ready to start on the very same thing. =2D-=20 Matt --nextPart2332901.ggmdAxOY2r Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAkp0jKAACgkQA6Vv5rghv0d0swCfbxsPTOTTxgG+ZURawqbbg8C7 K1gAn3PuZ/FZ0yjOanygUxLbX5euJJbj =EVkN -----END PGP SIGNATURE----- --nextPart2332901.ggmdAxOY2r-- --===============1973032226== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ quanta-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/quanta-devel --===============1973032226==--