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.79k stars 393 forks source link

Insert not in line with cursor #103

Open snips86x opened 4 years ago

snips86x commented 4 years ago

Firstly, can I just say thanks for creating a great little add-on. It works perfectly!! I'm also surprised that MS haven't already integrated the ability for keep font formatting within OneNote though :(

What I have noticed is that, if I place my cursor at the end of the a paragraph and use the insert function, the add-on defaults the insert to the to the top of the page. While this isn't a massive issue, as I can just copy/paste, it would be nice if the add-on picked up the cursor location on the insert and placed the text accordingly.

Jacob-Levitan commented 3 years ago

This happens for me as well. It always creates the code snippet in a new text box at the top of the page. Again copy pasting does preserve all the formatting but it is a bit annoying. When editing existing snippets it seems to work fine.