Re: How to get syntaxhighlighting for CSS3
Maug Lee <[email protected]> Thu, 15 Dec 2011 10:48:35 +0200
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 2011-12-14 23:43:15 Helga Fischer wrote: > Is it possible for a not programmer to write such syntax description > and update quanta's abilty? Before all you probably want to run: Settings → Configure Editor → Highlighting → Download New versions available will be selected, just press „Install“. Restart Quanta. Maybe now its all OK? If not. Syntax highlighting files are stored at $KDEDIR/share/apps/katepart/syntax for example it can be ~/.kde/share/apps/katepart/syntax If you look inside of file css.xml you will see a line with comment <!-- CSS3 --> Start editing / adding your stuff there. For understanding what are you doing: http://kate-editor.org/2005/03/24/writing-a-syntax-highlighting-file/ css.xml file will be overwritten on next update you run, so its better to create your own file – naming it, for example, css3.xml. Just copy existing css.xml and put your stuff there. Set your own name in <language name="CSS foobar"... After restarting Quanta you'll see your properties listed in Settings → Configure Editor → Fonts & Colors → Highlighting Text Styles after choosing „Markup/CSS foobar“ drop-down . You can edit colors, etc. I suppose the same would be with HTML5. -- M.Lee _______________________________________________ Quanta mailing list [email protected] https://mail.kde.org/mailman/listinfo/quanta