This is a migrated thread and some comments may be shown as answers.

A "nice to have"...

4 Answers 124 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sean Gough
Top achievements
Rank 1
Sean Gough asked on 03 Apr 2007, 04:00 PM
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)

4 Answers, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 04 Apr 2007, 10:08 AM
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
0
Johan
Top achievements
Rank 1
answered on 04 Apr 2007, 10:11 AM
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.
0
Todd Anglin
Top achievements
Rank 2
answered on 04 Apr 2007, 02:05 PM
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
0
Todd Anglin
Top achievements
Rank 2
answered on 04 Apr 2007, 07:45 PM
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
Tags
Code Converter
Asked by
Sean Gough
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Johan
Top achievements
Rank 1
Todd Anglin
Top achievements
Rank 2
Share this question
or