NoteHighlight2016
NoteHighlight2016 copied to clipboard
Exception from InsertHighLightCodeToCurrentSide
Hello,
I get the following issue when highlighting the text:
Schema.DescribeFieldResult dfr = Account.Description.getDescribe();
and clicking the "Java" button. It worked fine for the code above (as shown in image)
Kind Regards,
Sam
Could you export that page and attach it, so I can analyze it further. In these cases it's usually some invisible character causing problems.
Hi @elvirbrk
Please see attached.
3.1.5 - Obtaining Field Describe Results from Tokens.one.zip
It works when I click java and then input the text I want to highlight, but not when I highlight and click java.
Thanks, I found out what is causing this problem, but I'm not sure if I will be able to fix it. The thing is that page already contains some parameters which are not allowed (like larger than 1000000), meaning OneNote should complain about this page as not being valid, but it only complains after this addin tries to put everything back in place as it was. Workaround is to cut offending text and paste it to different place. I'll see if I can check page for invalid values and remove them without messing up with formatting.
Should be fixed in v3.6