Open file at cursor: image in Oxygen Image Preview
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 190
- Joined: Wed Apr 20, 2005 5:43 pm
- Location: Victoria, BC, Canada
Open file at cursor: image in Oxygen Image Preview
Post by martindholmes »
Hi there,
When I right-click (in Editor mode) on the path to an image, I have the option to Open File at Cursor, and Open File at Cursor in System Application. In both cases, an image (JPG) is opened in the system application. Is it possible to configure Oxygen so that the first of these would open the file in the Image Preview window inside Oxygen? That doesn't seem to be an option when configuring file types in the Preferences.
All help appreciated,
Martin
When I right-click (in Editor mode) on the path to an image, I have the option to Open File at Cursor, and Open File at Cursor in System Application. In both cases, an image (JPG) is opened in the system application. Is it possible to configure Oxygen so that the first of these would open the file in the Image Preview window inside Oxygen? That doesn't seem to be an option when configuring file types in the Preferences.
All help appreciated,
Martin
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Open file at cursor: image in Oxygen Image Preview
Hi Martin,
I would agree that "Open File at Cursor" should prefer Oxygen's Image Preview for images, I will add an internal issue for it.
Of course another approach could be to add some framework specific API and when the cursor is moved inside the image element the Image Preview could automatically show the image reference if the view is visible.
Or what a plugin could do, if it adds a cursor move listener to the text editing page's JTextArea:
https://www.oxygenxml.com/InstData/Edit ... omponent--
would be do detect when the cursor is inside the image reference, compute the URL to the target image and use this API:
ro.sync.exml.workspace.api.Workspace.open(URL)
which should open the image in the Preview view.
Regards,
Radu
I would agree that "Open File at Cursor" should prefer Oxygen's Image Preview for images, I will add an internal issue for it.
Of course another approach could be to add some framework specific API and when the cursor is moved inside the image element the Image Preview could automatically show the image reference if the view is visible.
Or what a plugin could do, if it adds a cursor move listener to the text editing page's JTextArea:
https://www.oxygenxml.com/InstData/Edit ... omponent--
would be do detect when the cursor is inside the image reference, compute the URL to the target image and use this API:
ro.sync.exml.workspace.api.Workspace.open(URL)
which should open the image in the Preview view.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 419
- Joined: Mon May 09, 2016 9:37 am
Re: Open file at cursor: image in Oxygen Image Preview
Post by sorin_carbunaru »
Hello Martin,
Just wanted to let you know that the improvement you asked for on this thread has been implemented in the recently released oXygen 22.
Best wishes,
Sorin Carbunaru
oXygen XML
Just wanted to let you know that the improvement you asked for on this thread has been implemented in the recently released oXygen 22.
Best wishes,
Sorin Carbunaru
oXygen XML
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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