[Geany] Using Geany to edit QuickBook/Boostbook files - has anyone done so?
Andy Elvey
andy.elvey at xxxxx
Fri Jun 19 08:01:08 UTC 2009
Hi all -
I'm about to help out with doing some docs for Boost::Spirit (a parser
lib that is part of Boost).
I'll be using a tool called "QuickBook" which I believe is very similar
to BoostBook. Anyway, I found this section in the Boost docs about
using the Scintilla editing component (which Geany uses, iirc) to
highlight Quickbook tags -
http://www.boost.org/doc/libs/1_39_0/doc/html/quickbook/editors.html
It gives this snippet of code -
qbk=*.qbk
lexer.*.qbk=props
use.tabs.$(qbk)=0
tab.size.$(qbk)=4
indent.size.$(qbk)=4
style.props.32=$(font.base)
comment.stream.start.props=[/
comment.stream.end.props=]
comment.box.start.props=[/
comment.box.middle.props=
comment.box.end.props=]
A question or two here -
a) Has anyone used Geany to edit QuickBook files?
b) In Geany's dir structure, where would I put the above code snippet so
that .qbk files are highlighted? Is it in /geany-0.17/data (and do I
name the file "filetypes.quickbook"? )
Many thanks in advance! Bye for now -
- Andy
More information about the Users
mailing list