How I can join the project?

Mar 20, 2011 at 10:01 AM


I made some minor modifications and added new functionality to use an external css style sheet and css classes for highlighting instead of using foreground and background colors. It is now possible to generate html similar to  <span class="ccComment"> ....</span> instead of <span style="color: red"> ... </span>

I am also planning to add multi language highlighting, to detect and properly higlight inline css or javascript blocks in html code, or php code blocks etc.

How I can join the project and commit (I mean push) my changes? Please contact me


Serkan Özkan

Mar 20, 2011 at 12:00 PM

I have a question, does this library already have support for nested languages? I didn't understand what LanguageParser.AppendCapturedStylesForNestedLanguage is used for. It would be nice to have some source code documentation.  

I thought about adding some new members (like parent language, regex for language start and end tags) to  ILanguage but I gave up since it would require massive modifications. I am planning to implement my own ILanguageParser and first split text into chunks of languages and colorize them seperately and then return the merged result.

For example the following php source code will be first split into chunks of languages and colorized seperately using their respective languages :

somehtmlcode... will be highlighted as html
php code... will be highlighted as php
<script language="javascript">
somejavascript code... will be highlighted as javascript
<?php inline php code highlighted as php inside a javascript block ?>

Any ideas are welcome