Search found 176 matches

by martindholmes
Mon Jun 15, 2020 5:33 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 3127

Re: Weird autocomplete bug in v 22.0

Is it in today's release? I don't see anything specific in the release notes, although the first item looks a bit similar.
by martindholmes
Thu May 21, 2020 5:01 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 3127

Re: Weird autocomplete bug in v 22.0

Please tell me this is fixed in 22.1!
by martindholmes
Thu May 07, 2020 9:06 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 3127

Re: Weird autocomplete bug in v 22.0

I'd really appreciate a fix for this. It's driving me nuts. :-)
by martindholmes
Wed Mar 25, 2020 9:28 pm
Forum: Other Issues
Topic: This forum's position:fixed navbar
Replies: 1
Views: 1114

This forum's position:fixed navbar

Could you please turn off position: fixed in the forum navigation bar? It breaks all the fragment links since the target is invisible under the navbar, and it hides features at the top of the page.
by martindholmes
Wed Mar 25, 2020 8:10 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 3127

Re: Weird autocomplete bug in v 22.0

Can anyone else confirm this? It's REALLY annoying, so I've had to turn off content completion for XPath, which is a drag. This is on Ubuntu 18.04.4, using the Oxygen bundled with OpenJDK.
by martindholmes
Tue Mar 24, 2020 5:59 pm
Forum: Common Problems
Topic: Weird autocomplete bug in v 22.0
Replies: 9
Views: 3127

Weird autocomplete bug in v 22.0

Hi there, In 22.0, build 2020030607, working in Text mode on XSLT with master files enabled, I'm seeing a very weird and quite annoying autocomplete bug. I have a single accumulator named "lineCount" defined in the master file: <xsl:accumulator as="xs:integer" initial-value="...
by martindholmes
Tue Sep 17, 2019 7:20 pm
Forum: Common Problems
Topic: NVDL validation
Replies: 1
Views: 918

NVDL validation

Hi there, Using recent releases of the Jing jar file, we're finding that NVDL validation fails with error messages related to parsing of Schematron and namespaces. However, when we do the same validation in Oxygen, we don't see those errors, so it seems likely that Oxygen is passing some flag to Jin...
by martindholmes
Fri May 24, 2019 6:15 pm
Forum: Common Problems
Topic: Code template no longer working after update to 21.1
Replies: 3
Views: 1657

Re: Code template no longer working after update to 21.1

Hi Alex,

If it's as simple as dropping a new version of a jar file in the lib folder, then please do send it along (mholmes@uvic.ca). Otherwise, I'm happy to wait for the next release.

All the best,
Martin
by martindholmes
Thu May 23, 2019 7:59 pm
Forum: Common Problems
Topic: Code template no longer working after update to 21.1
Replies: 3
Views: 1657

Code template no longer working after update to 21.1

Hi there, I have a bunch of code templates that look like this: <title level="a">${xpath_eval(replace('${selection}', '[“”]+', ''))}</title> which were working OK, but having just upgraded to 21.1, they don't seem to be working; nothing happens when I hit the keystroke sequence defined for...
by martindholmes
Mon May 06, 2019 1:47 am
Forum: Common Problems
Topic: Has Saxon changed in the Oxygen lib dir, breaking plugins?
Replies: 4
Views: 2358

Re: Has Saxon changed in the Oxygen lib dir, breaking plugins?

Hi Radu, Our problem is that the schemas and stylesheets are all interdependent, so both validation and transformation scenarios would have to be updated. The whole thing is a bit difficult to disentangle. I think we're going to stop supporting versions before 18.1, and use the wildcard approach. Th...
by martindholmes
Sat Apr 06, 2019 2:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: JSOperation API issues
Replies: 3
Views: 1839

Re: JSOperation API issues

You're absolutely right. But with the JS I can write code and test it on any old machine, whereas I need a Java build environment to use Java. I always find it painful to get Eclipse set up for Java work and I tend to avoid it if I can. It would be neat if there were a docker container all pre-confi...
by martindholmes
Sat Apr 06, 2019 12:35 am
Forum: SDK-API, Frameworks - Document Types
Topic: Author mode CSS: any way to do this?
Replies: 5
Views: 2398

Re: Author mode CSS: any way to do this?

Looking at the AuthorCaretListener, I'm going to have to instantiate it when the editor is activated, of course. Is there any way to do this through a Document Type configuration in JavaScript, as I can do with regular Author actions, or will this have to be done through a plugin? It looks as though...
by martindholmes
Fri Apr 05, 2019 10:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author mode CSS: any way to do this?
Replies: 5
Views: 2398

Re: Author mode CSS: any way to do this?

Ah! I hadn't noticed that. I guess I should be able to use it with a caret listener to highlight ranges when the caret hits an anchor.

Thanks indeed,
Martin
by martindholmes
Fri Apr 05, 2019 1:15 am
Forum: SDK-API, Frameworks - Document Types
Topic: JSOperation API issues
Replies: 3
Views: 1839

Re: JSOperation API issues

Figured it out. I don't need to cast the findNodesByXPath result to an array.
by martindholmes
Fri Apr 05, 2019 1:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: JSOperation API issues
Replies: 3
Views: 1839

JSOperation API issues

HI there, I'm working on creating actions using the JSOperation functionality, and encountering some problems calling API functions. Here's some example code: function doOperation() { var selText = authorAccess.getEditorAccess().getSelectedText(); var documentController = authorAccess.getDocumentCon...
by martindholmes
Thu Apr 04, 2019 8:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Author mode CSS: any way to do this?
Replies: 5
Views: 2398

Author mode CSS: any way to do this?

Hi all, This may be an impossible goal, but it's worth asking: I have documents which are tagged in stand-off mode, using anchor elements, like this: ...This discussion covers <anchor next="#v2j_ht4_1hb" ana="e:institution" />institutional repositories<anchor xml:id="v2j_ht4...
by martindholmes
Wed Apr 03, 2019 6:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: JavaScript doOperation() in Doc type action
Replies: 3
Views: 2033

Re: JavaScript doOperation() in Doc type action

Works perfectly! Thank you so much.

Cheers,
Martin
by martindholmes
Wed Apr 03, 2019 2:07 am
Forum: SDK-API, Frameworks - Document Types
Topic: JavaScript doOperation() in Doc type action
Replies: 3
Views: 2033

Re: JavaScript doOperation() in Doc type action

If I use surroundInFragment I get the same result: an extra space before the closing tag.
by martindholmes
Wed Apr 03, 2019 1:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: JavaScript doOperation() in Doc type action
Replies: 3
Views: 2033

JavaScript doOperation() in Doc type action

Hi there, I'm writing Author actions using the Document Type Author Action configuration, and finding a couple of oddities. First, an extra space is inserted following the closing tag of the element I insert; and secondly, the compound edit functionality seems to be failing (nothing happens when I u...
by martindholmes
Tue Apr 02, 2019 2:49 am
Forum: SDK-API, Frameworks - Document Types
Topic: Add-ons packager plugin?
Replies: 2
Views: 1613

Re: Add-ons packager plugin?

The second page URL should be: https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/packing-and-deploying-addons.html These pages: https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/packing-and-deploying-plugins-as-addons.html https://www.oxygenxml.com/doc/versions/21.0/ug-editor/t...
by martindholmes
Tue Apr 02, 2019 2:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: Add-ons packager plugin?
Replies: 2
Views: 1613

Add-ons packager plugin?

These pages: https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/packing-and-deploying-plugins-as-addons.html https://www.oxygenxml.com/doc/versions/21.0/ug-editor/topics/packing-and-deploying-plugins-as-addons.html refer to an Add-ons Packager Plugin, but it doesn't seem to be available wh...
by martindholmes
Tue Mar 26, 2019 6:13 pm
Forum: Common Problems
Topic: Has Saxon changed in the Oxygen lib dir, breaking plugins?
Replies: 4
Views: 2358

Re: Has Saxon changed in the Oxygen lib dir, breaking plugins?

Hi Radu,

I'll let Council know and ask them again what they want to do about the plugin and support for older versions.

Cheers,
Martin
by martindholmes
Mon Mar 25, 2019 7:47 pm
Forum: Common Problems
Topic: Has Saxon changed in the Oxygen lib dir, breaking plugins?
Replies: 4
Views: 2358

Has Saxon changed in the Oxygen lib dir, breaking plugins?

Hi there, I noticed today that the bleeding-edge (testing) version of the TEI plugin cannot do its normal TEI ODD to RNG transformation in Oxygen 21.0. I think this is because the transformation as configured is expecting to find saxon9ee.jar in the Oxygen lib directory, but it no longer seems to be...
by martindholmes
Fri Mar 15, 2019 2:04 am
Forum: SDK-API, Frameworks - Document Types
Topic: Simplest approach to an Author-mode customization
Replies: 13
Views: 5540

Re: Simplest approach to an Author-mode customization

Just for completeness I'd like to try one more time with JS -- could I get a hint as to the process of using the MenusAndToolbarsContributorCustomizer approach in JS?

Meanwhile, I'll download the SDK and start getting comfortable with the Java.

Cheers,
Martin
by martindholmes
Thu Mar 14, 2019 6:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Simplest approach to an Author-mode customization
Replies: 13
Views: 5540

Re: Simplest approach to an Author-mode customization

Thanks Radu! I'll have a go at figuring out the MenusAndToolbarsContributorCustomizer thing. I'm increasingly wondering if it would make sense to move this work to Java, but the JS approach is very convenient (no need for the SDK etc).

All the best,
Martin
by martindholmes
Thu Mar 14, 2019 3:16 am
Forum: SDK-API, Frameworks - Document Types
Topic: Simplest approach to an Author-mode customization
Replies: 13
Views: 5540

Re: Simplest approach to an Author-mode customization

I think I've figured out the problem with regard to some files getting the new menu item and some not; but I'm not sure how to solve it. If a document is opened in Author mode, then it gets the item. If it's opened in Text mode (which is the default for most of our projects), then it doesn't get the...
by martindholmes
Wed Mar 13, 2019 11:15 pm
Forum: Common Problems
Topic: Open file at cursor: image in Oxygen Image Preview
Replies: 2
Views: 1678

Open file at cursor: image in Oxygen Image Preview

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 ...
by martindholmes
Wed Mar 13, 2019 11:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Simplest approach to an Author-mode customization
Replies: 13
Views: 5540

Re: Simplest approach to an Author-mode customization

One more thing I'm trying to figure out: At the moment, the operation (which inserts two elements and adds an attribute) is carried out in three steps; that means that if the user wants to undo it, they need to undo three times, which is a little confusing for them. Is there a way to wrap a sequence...
by martindholmes
Wed Mar 13, 2019 7:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Simplest approach to an Author-mode customization
Replies: 13
Views: 5540

Re: Simplest approach to an Author-mode customization

The symptom is that the menu item appears when I have no project open and just open a random XML document; but when I open a project which has a defined document type, along with code templates and so on, the menu item often fails to appear. I can get it to appear if I re-copy the plugin content int...