- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the best way to copy the code from Quartus II into Microsoft World and still get the right colors and formatting?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
VHDL / Verilog code is pure text, syntax highlights are not embedded, if you copy code the formatting (tabs etc) will be presurved but thats all. The colours as seen in the Quartus II text editor are added by the editor and are not embedded in the text (as with most other HDL editors)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply QuartusPenguin!
Maby someone should make a website that enable higlighting for the code;)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i can see the usefulness of something like that for documentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
wow, vim will do this quite nicely. use :TOhtml and it will create an HTML markup including syntax highlighting

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page