NoteHighlight2016 icon indicating copy to clipboard operation
NoteHighlight2016 copied to clipboard

Error Exception from InsertHighLightCodeToCurrentSide

Open Leboubou111 opened this issue 4 years ago • 2 comments

Hi,

I've this error when I attempt to insert code with this plugin. OneNote 2016 32bit - Windows 10 Pro

image

Leboubou111 avatar Apr 08 '20 10:04 Leboubou111

I have the same error when I do quick style, when I turn off quick style it works. I tried both 64-bit and x86 bit version. Reinstalled, repaired etc. This works on another PC I got so it is weird. I use Onenote 2016.

Seems it happens here

          //Bug fix - remove overflow value for Indents
          foreach (var el in page.Descendants(Ns + "Indent").Where(n => double.Parse(n.Attribute("indent").Value, new CultureInfo(page.Root.Attribute("lang").Value)) > 1000000))
          {
            el.Attribute("indent").Value = "0";
          }

anders43 avatar May 24 '20 06:05 anders43

Same here. If I select text in Onenote then try apply style, I have this popup box.

If I open one style box then paste my text in it, it's working.

FumbleBe avatar Jul 29 '20 13:07 FumbleBe