A "nice to have"...

5 posts, 0 answers
  1. Sean Gough
    Sean Gough avatar
    4 posts
    Member since:
    Feb 2006

    Posted 03 Apr 2007 Link to this post

    Totally not a requirement, but would be nice nonetheless if the resulting code was formatted and colour coded.  I realize this would be an issue for a text box control, but maybe as an optional feature?  (i.e. check this box for formatted code)
  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 04 Apr 2007 Link to this post

    Hi Sean Gough,

    That's a great idea. We already have a basic code colorizer in the quick start framework, we might just try to implement something in the web version of the converter. Thanks for the heads up!

    All the best,
    Vladimir Milev
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
  3. Johan
    Johan avatar
    617 posts
    Member since:
    Mar 2007

    Posted 04 Apr 2007 Link to this post

    Yep, pretty much a "Colorize and Export to Html" tool, pretty  similar to the colorizer (Format Code Block) snippet in rad Editor. It is often needed to copy/paste colored code in Html format - and this is very annoying to do by hand. So it would be a great option.
  4. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 04 Apr 2007 Link to this post

    Sean and Johan-

    Good ideas! I figured a formatted color output feature would eventually be requested, but I wanted to wait for the official "votes". Vladimir makes a good point about reusing the Telerik code formatter, so hopefully we'll be able to deliver this as an optional feature soon.

    Thanks~
    Todd
  5. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 04 Apr 2007 Link to this post

    All-

    Ask and you shall receive. I have extracted the highlighting code from the Telerik Quickstart and added syntax highlighting to the Code Converter. Check out this blog post for the details and then visit the converter for the fun:

    http://telerikwatch.com/2007/04/more-converter-updates.html


    Thanks~
    Todd
Back to Top