How I can join the project?

Mar 20, 2011 at 9:01 AM

Hi,

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

Thanks

Serkan Özkan

Mar 20, 2011 at 11:00 AM

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 :

<html>
somehtmlcode... will be highlighted as html
<?php
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 ?>
</script>

Any ideas are welcome