Search found 5 matches

by np18
Thu Mar 18, 2021 5:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 599

Re: how to implement selection plugin in author mode

for some reason my previous post wasn't posted: I was able to get the key bindings working.

I had to add a toolbar menu for them to work. If you only have a popup menu entry, the key bindings only work when the context menu is opened.

Again thanks and all the best
by np18
Thu Mar 18, 2021 5:16 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 599

Re: how to implement selection plugin in author mode

Dear Alex,

I was able to make the key bindings work.
I only added the action into the popup menu, so the key bindings were only working when the context menu is opened. Now I also added a toolbar menu and they work!

Thanks again and all the best,
Michael
by np18
Thu Mar 18, 2021 12:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 599

Re: how to implement selection plugin in author mode

Dear Alex, again, thank you very much for your help: I was able to transform my plugin for textmode into an workspace access plugin that now works in text as well as author mode! Everything works as intended - with one exception, so sorry for my follow up question: I used to have a key binding for m...
by np18
Wed Mar 17, 2021 2:42 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 599

Re: how to implement selection plugin in author mode

Dear Alex,
thanks very much for your quick and helpful reply! I will try this during the next days and report when/if I am successful!
Best,
Michael
by np18
Wed Mar 17, 2021 9:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 599

how to implement selection plugin in author mode

Hi, I have a problem with developing a plugin for author mode of oxygenxml editor and wonder if you might point me in the right direction. I made a small plugin for textmode that takes the current selection by getSelection()), does some string manipulation (deleting some XML if present) and then sen...