OneNote2007: How can I highlight the programming code I typed in??
  Home FAQ Contact Sign in
microsoft.public.onenote only
 
Advanced search
POPULAR GROUPS

more...

microsoft.public.onenote Profile…
 Up
OneNote2007: How can I highlight the programming code I typed in??         


Author: Jim Wang
Date: Nov 8, 2007 09:45

I want to use OneNote2007 to manage my programming code.

Not sure if OneNote2007 supports hightlight for C#/JavaScript/HTML and
comments?

I want it is as same as Visual Studio.

Thank you!
Jim
6 Comments
RE: OneNote2007: How can I highlight the programming code I typed in??         


Date: Nov 8, 2007 11:04

No, ON 2007 does not support syntax highlighting for code (even code that is
pasted into it).

This has bubbled up a couple of times recently. I'll keep my eye for this
as well.

Anecdote: we used a shared notebook for code reviews for a few weeks
earlier this year. It wnet OK - maybe a C on a grade scale. Syntax
highlighting being lost was a sore point. But having multiple reviewers make
comments alongside the code was nice.

--
Thanks,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin

"Jim Wang" wrote:
Show full article (0.76Kb)
no comments
Re: OneNote2007: How can I highlight the programming code I typed in??         


Author: Josh Einstein
Date: Nov 8, 2007 19:22

Not a great workaround, I know. But you can do it in two steps by pasting it
into Word first, then copy/paste that into OneNote. The color coding will be
retained.

--
Josh Einstein (Tablet PC MVP)
Einstein Technologies
Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com

"Jim Wang" discussions.microsoft.com> wrote in message
news:A72B4718-F6B5-444E-934C-025C1D71FB34@microsoft.com...
>I want to use OneNote2007 to manage my programming code.
>
> Not sure if OneNote2007 supports hightlight for C#/JavaScript/HTML and
> comments?
>
> I want it is as same as Visual Studio.
>
> Thank you!
> Jim
no comments
Re: OneNote2007: How can I highlight the programming code I typed         


Author: Jim Wang
Date: Nov 9, 2007 01:09

Thanks John, Josh,

Do you know if Word2007 support syntax highlighting for code? (not pasting
from VS)

Cheers,
Jim
no comments
Re: OneNote2007: How can I highlight the programming code I typed         


Author: Josh Einstein
Date: Nov 9, 2007 15:20

No, that's an IDE feature, not a word processor feature. The only reason it
works pasting from VS is because VS puts HTML content on the clipboard.

--
Josh Einstein (Tablet PC MVP)
Einstein Technologies
Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com

"Jim Wang" discussions.microsoft.com> wrote in message
news:11564E9F-9A49-4149-8B0D-8AFAB226600B@microsoft.com...
> Thanks John, Josh,
>
> Do you know if Word2007 support syntax highlighting for code? (not pasting
> from VS)
>
> Cheers,
> Jim
no comments
Re: OneNote2007: How can I highlight the programming code I typed         


Date: Nov 18, 2007 14:37

I looked around for a third party addin for Word to perform syntax
highlighting and found one: ADX. A url for it is
http://www.vicman.net/lib/syntax-highlighting.htm

I did not try it, though.

Here's an incredibly interesting article describing a method to create some
simple code to do the highlighting for you:
http://blogs.microsoft.co.il/blogs/tamir/archive/2006/12/14/RichTextBox-syntax-highlighting...

I was thinking about that and figure you could use autocorrect to do this,
or even write a simple macro to change to color of keywords.

Hope some of this helps!
--
Thanks,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin

"Josh Einstein" wrote:
Show full article (1.26Kb)
no comments
Re: OneNote2007: How can I highlight the programming code I typed         


Author: recursive
Date: Aug 29, 2008 14:02

Thanks to Josh for the workaround...

I definitely would put this on the wish list since this was preventing me
from creating programming documentation in OneNote since it really bothered
me to not get the syntax coloring. Now I can move forward using Word as an
intermediary.
Show full article (0.73Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
2008/04/16 new programs and new trading programs addedalt.cracks ·