elvirbrk / NoteHighlight2016

Source code syntax highlighting for OneNote 2016 and OneNote for O365 . NoteHighlight 2013 port for OneNote 2016 (32-bit and 64-bit)
GNU General Public License v2.0
3.82k stars 392 forks source link

Why does notehighlight when copying into OneNote push everything together. #175

Open InfamyStudio opened 2 years ago

InfamyStudio commented 2 years ago

Every time I write code into not highlight and copy it to the OneNote document different parts of get pushed together so for example: int i = 5; goes to int i=5;

Can this be patched please as it is really annoying to every time manually go back and add spaces again.

InfamyStudio commented 1 year ago

bump to this, still experiencing this!

jxs0900 commented 1 year ago

bump I'm experiencing this too

image

image

jxs0900 commented 1 year ago

It works when I don't check the "copy to clipboard" option

image

Wang-Ryan-12345 commented 4 months ago

Yes. Same issue. When input code in the box, and check 'copy to clipboard', the space is missing. But when select code in OneNote and open NoteHighlight, the formatting is good.