Track changes state reset after text mode.
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 42
- Joined: Mon Aug 18, 2014 11:50 pm
Track changes state reset after text mode.
Track changes state reset after text mode.
Is there a way to preserve the track changes state after using text mode?
Example of the problem
1. Set Options > Review > Track changes always off.
2. Open document in Authoring mode.
3. Enable track changes.
4. switch to text mode and make a small change.
5. Switch back to Authoring mode
Track changes are now off in the file, even though you turned them on before going into text mode. (I don't think any of my other plug-in code is causing this, let me know if you cant reproduce the issue)
Could I implement something in a WSEditorChangeListener maybe? I trued to save and store the tracking state in editorDeactivated but by then the Author page is already gone.
Thanks.
Windows 32-bit - oXygen XML Author - 17.1 - 2016020417
Is there a way to preserve the track changes state after using text mode?
Example of the problem
1. Set Options > Review > Track changes always off.
2. Open document in Authoring mode.
3. Enable track changes.
4. switch to text mode and make a small change.
5. Switch back to Authoring mode
Track changes are now off in the file, even though you turned them on before going into text mode. (I don't think any of my other plug-in code is causing this, let me know if you cant reproduce the issue)
Could I implement something in a WSEditorChangeListener maybe? I trued to save and store the tracking state in editorDeactivated but by then the Author page is already gone.
Thanks.
Windows 32-bit - oXygen XML Author - 17.1 - 2016020417
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Track changes state reset after text mode.
Hi,
I understand your use case and I consider that indeed we could improve Oxygen and retain the change tracking state when the user comes back from the Text editing mode. I will add an issue for this.
About using the API, on an opened editor you can add a page changed listener: ro.sync.exml.workspace.api.listeners.WSEditorPageChangedListener which has a editorPageAboutToBeChangedVeto callback.
Regards,
Radu
I understand your use case and I consider that indeed we could improve Oxygen and retain the change tracking state when the user comes back from the Text editing mode. I will add an issue for this.
About using the API, on an opened editor you can add a page changed listener: ro.sync.exml.workspace.api.listeners.WSEditorPageChangedListener which has a editorPageAboutToBeChangedVeto callback.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 42
- Joined: Mon Aug 18, 2014 11:50 pm
Re: Track changes state reset after text mode.
Ahhh, perfect, was exactly what I was looking for, thank you.
I was trying various things inwith no luck.
Now I can easily store the track change state when Author mode is left and then rest it when it goes back to Author mode.
Thanks again.
Code: Select all
WSEditorPageChangedListener
I was trying various things in
Code: Select all
WSEditorChangeListener
Now I can easily store the track change state when Author mode is left and then rest it when it goes back to Author mode.
Thanks again.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Track changes state reset after text mode.
Hi,
We released Oxygen 19.1 a couple of days ago and it should have a fix for the original reported issue, so with 19.1 you would no longer need to use the API.
Regards,
Radu
We released Oxygen 19.1 a couple of days ago and it should have a fix for the original reported issue, so with 19.1 you would no longer need to use the API.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service