Quantcast
Channel: ColorCode - Syntax Highlighting/Colorization for .NET
Viewing all 89 articles
Browse latest View live

Reviewed: ColorCode 1.0.1 (мар 04, 2012)

$
0
0
Rated 4 Stars (out of 5) - How can I use it for richtextbox control? How can I get richtextbox formatter? Regards

Updated Wiki: Home

$
0
0

For ColorCode updates, follow @anglicangeek <script type="text/javascript">// <![CDATA[ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); // ]]></script>

Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).

Language Support
ColorCode supports the following languages:

  • XML
  • Java
  • JavaScript
  • SQL
  • C#
  • VB.NET
  • ASPX (C#)
  • ASPX (VB.NET)
  • C++
  • PHP
  • PowerShell


Code Sample

using ColorCode;

string sourceCode = File.ReadAllText(@"/path/to/source/file");

string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);


Who's Using ColorCode?

  • codeplex.com
  • Microsoft Forums sites

Updated Wiki: Home

$
0
0

For ColorCode updates, follow @anglicangeek

Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).

Language Support
ColorCode supports the following languages:

  • XML
  • Java
  • JavaScript
  • SQL
  • C#
  • VB.NET
  • ASPX (C#)
  • ASPX (VB.NET)
  • C++
  • PHP
  • PowerShell


Code Sample

using ColorCode;

string sourceCode = File.ReadAllText(@"/path/to/source/file");

string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);


Who's Using ColorCode?

  • codeplex.com
  • Microsoft Forums sites

Updated Wiki: Home

$
0
0

For ColorCode updates, follow @anglicangeek. 

Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).

Language Support
ColorCode supports the following languages:

  • XML
  • Java
  • JavaScript
  • SQL
  • C#
  • VB.NET
  • ASPX (C#)
  • ASPX (VB.NET)
  • C++
  • PHP
  • PowerShell


Code Sample

using ColorCode;

string sourceCode = File.ReadAllText(@"/path/to/source/file");

string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);


Who's Using ColorCode?

  • codeplex.com
  • Microsoft Forums sites

Created Issue: SQL XML - tag interferrence [25037]

$
0
0
Hi,
when the T-SQL code contains XML then XML tags interfere with HTML tags.

example (adding HEADER to HTML table):
SET @html.modify('insert <tr><th>date</th><th>user</th><th>version</th></tr> before (/table/tr)[1]')

Try entity tag <> into &lt; &gt;

Thanks.

New Post: I'm new...

$
0
0

How do you use this.

I can't even install it, or what ever you need to do.
Please help.(I feel kinda stupid.)

New Post: How do I change formatting?

$
0
0

I want to colorize XML.  Out of the box, ColorCode colorizes it, but it reads as all one line.  I want to format it so that elements are on a new line, indented, etc.

Since there is no documentation, it is very difficult to figure out how to do this.

Created Issue: XML colorizing can't handle empty attributes [25038]

$
0
0
XML colorizing can't handle empty attributes. E.g., colorizing "<root><child value="X" /></root>" works, whereas, colorizing "<root><child value="" /></root>" does not.

New Post: Retrieve a list of supported languages

$
0
0

I wonder if there is a way to retrieve a list of supported languages , something like (C# pseudocode):

string language;

foreach(  language in ColorCode.Languages)

{

   // retrieve language

}

I'd like to load in a combo all the supported languages .

TIA

 

Jack

Updated Wiki: Home

$
0
0

Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).

Language Support
ColorCode supports the following languages:

  • XML
  • Java
  • JavaScript
  • SQL
  • C#
  • VB.NET
  • ASPX (C#)
  • ASPX (VB.NET)
  • C++
  • PHP
  • PowerShell


Code Sample

using ColorCode;string sourceCode = File.ReadAllText(@"/path/to/source/file");string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);


Who's Using ColorCode?

  • codeplex.com
  • Microsoft Forums sites

Source code checked in, #bfa2870ed3a6

$
0
0
Allowed for alias names for language ids

Source code checked in, #55e7ba1faebc

$
0
0
Modified the check for language name to be case insensitive and did some minor refactoring

Source code checked in, #c9fba74c1569

$
0
0
Added support for Typescript colorizing

Source code checked in, #00af86e364ea

Updated Wiki: Home

$
0
0

Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).

Language Support
ColorCode supports the following languages:

  • XML
  • Java
  • JavaScript
  • SQL
  • C#
  • VB.NET
  • ASPX (C#)
  • ASPX (VB.NET)
  • C++
  • PHP
  • PowerShell
  • Typescript


Code Sample

using ColorCode;

string sourceCode = File.ReadAllText(@"/path/to/source/file");

string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);


Who's Using ColorCode?

  • codeplex.com
  • Microsoft Forums sites

Source code checked in, #64736beb80e4

$
0
0
Added auto detection of typescript extension

New Post: Unable to use ColorCode

$
0
0
I am not able to use the ColorCode dll. I created a CSharp project. added reference to ColorCode

added the following code to my Form 1. When I run my project I get the following error?

Imports ColorCode

Error 3 The type or namespace name 'ColorCode' could not be found (are you missing a using directive or an assembly reference?) X:\Dev\SyntaxHighlighting\WindowsFormsApplication1\Form1.cs 9 7 WindowsFormsApplication1

Source code checked in, #b6ff1237e505

$
0
0
Included htm as an alias for html

Created Issue: Making it work on richtextbox control in vs2012 [25039]

$
0
0
i m making a java language editor in c# using vs2012....and i m trying to obtain syntax highlighting for Java language using colorcode in richtextbox control....but unable to obtain any success....plzzzz help ASAP...!! :(

New Post: Problem in using colorcode for syntax highlighter in richtextbox control

$
0
0
i m developing a java language editor in c# language using vs2012 ...and i m trying to highlight my java code in richtextbox control but in vain.....so plzzz help ASAP...!! :(
Viewing all 89 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>