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

Option to use the current block instead of creating another #185

Open Fred-Vatin opened 1 year ago

Fred-Vatin commented 1 year ago
NoteHighlight2016 OS OneNote
v3.7 Dark mode Win 10 x64 pro 21H2 365 MSO (Version 2210 Build 16.0.15726.20188) 64 bits

Hi,

First : awesome feature.

The only problem I have is I can really paste code on the flow of current page since it creates a new block each time.

I hope it could detect the context so it doesn’t need to do it when cursor is in a block already.

mattlohkamp commented 1 year ago

Agreed, inserting the formatted text in a block at the top of the current page is unexpected (and, in many cases, unwanted) behavior. Text should be inserted at the location of the caret in the current document.