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

Running against content of one table cell, whole table is replaced #90

Open fsjws4 opened 5 years ago

fsjws4 commented 5 years ago

When working with a table, I sometimes want to run NoteHighlight against the contents of one cell. If I select the code in that one cell, then apply NoteHighlight, it removes the entire table and all its contents, and gives me just the formatted code that I had selected.

Thankfully, ctrl-Z fixed it. But wow, that was scary.

As a workaround, I copy/paste into a new text block, apply NoteHighlight, then copy/paste back into my table cell.