(X) Hide this SilverlightShow next training events: Getting started with the Silverlight 5 Beta - a free 1 hour webinar on May 11th, by Michael Crump. Join at 10 am PST.
XNA for Windows Phone 7 - a 3 day training by MCC Peter Kuhn. June 1-3, 9 am - 1.30 pm PST. Sign up early-bird for $199.
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 3 results for Syntax Highlighting.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • CodeBox - Syntax Highlighting In Silverlight For Any Programming Language

    0 comments  /  posted by  Silverlight Show  on  Sep 20, 2010 (7 months ago)
    SilverLaw created a Silverlight 4 UserControl called CodeBox that enables you to highlight source code in Silverlight for your web page.

    Source: Windows Client

    It doesn’t use code parsing or conversion from plain text to html or to rich text format. It simply uses the new Silverlight 4 RichTextBox control to display source code in the same rich text format as you copied it from the Visual Studio code editor.

    Probably the biggest advantage of this solution is that it works reliable for any programming language. C#, VB.NET, F#, C++, HTML, XAML, XML … what ever language you wish to highlight.



  • 0 comments  /  posted by  Silverlight Show  on  Dec 10, 2009 (more than a year ago)
    In this post Nick Kramer shows how to use the tokenizer he created several years ago for syntax highlighting.

    Several years back I posted a XML tokenizer for syntax highlighting. At the time I didn't post a complete app, since it was part of a larger project; if someone recently asked me for a little more context for the tokenizer so I put together a quickie Silverlight project showing how to use the tokenizer for syntax highlighting.

  • 2 comments  /  posted by  Silverlight Show  on  Mar 05, 2009 (more than a year ago)

    Alexei Prokudin has written an article on CodeProject where he has added Syntax Highlighting to a Textbox.

    I have updated sources that contain new implementation for TextBlock's inline rendering. Now it is a bit faster with editing and scrolling 1000 lines. All other performance issues are related to Microsoft's Silverlight implementaion.