This project is read-only.

Add Copy to Clipboard button to code window

Jan 7, 2016 at 8:48 PM
Currently, you select a Language and then the code window pops up. You select options for Style, Copy to Clipboard, and Line Number.

At this point I generally paste in the code to be formatted.
I select Copy to Clipboard and click ok, and the window closes.
I then paste the code into OneNote. But, if I don't like the Style, I have to re-open the code window, paste the code back into the window, change the Style to something else, click Ok and paste into OneNote... And so on.
With a button added to the Code window for Copy to Clipboard, I could paste my code in the window, select a style, click the Copy to Clipboard button, and then paste into OneNote. If I don't like the style, I would simply change it, then click Copy to Clipboard again and paste into OneNote. When I like the result, then I could click on the Ok button on the Code window to close it out.
Jun 10, 2016 at 2:39 PM
Upcoming release will help this. See the documentation wiki for a list of new features. I'm still thinking through some of the re-integration w/ OneNote but there will be a definite solution for this (I use it similarly and just not for OneNote).