Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception from InsertHighLightCodeToCurrentSide #43

Open
ghost opened this issue Feb 15, 2018 · 4 comments
Open

Exception from InsertHighLightCodeToCurrentSide #43

ghost opened this issue Feb 15, 2018 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 15, 2018

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)

1

Kind Regards,

Sam

@elvirbrk
Copy link
Owner

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.

@ghost
Copy link
Author

ghost commented Feb 15, 2018

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.

@elvirbrk
Copy link
Owner

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.

@elvirbrk elvirbrk added the bug label Feb 16, 2018
elvirbrk added a commit that referenced this issue Apr 14, 2019
@elvirbrk
Copy link
Owner

Should be fixed in v3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant