Boost logo

Boost Users :

Subject: Re: [Boost-users] Quickbook: source-mode teletype highlighting as c++
From: Bo Jensen (jensen.bo_at_[hidden])
Date: 2010-12-22 17:49:12


On Wed, Dec 22, 2010 at 10:38 PM, Daniel James <dnljms_at_[hidden]> wrote:
> On 22 December 2010 18:53, Wilhelm <wilhelm.meier_at_[hidden]> wrote:
>>
>> experimenting with source-mode teletype seems to have no effect: all
>> imports are highlighted as c++.
>
> The [teletype], [c++] and [python] tags only effect syntax
> highlighting for code in quickbook. The highlighting for imports is
> determined by the file extension, and currently uses python for '.py'
> and c++ for everything else. Remember that importing requires special
> syntax to mark out the areas to be imported, and that's only
> implemented for python and C++.
>
> Daniel
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

I also need highlighting for other languages than C++ or Python. I was
thinking about making my own hack, which took the code and parsed it
through a beautifier that spits out html. Not elegant, but reasonable
simple, well it's just a suggestion.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net