-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editing atoms for moving the caret behind/before the current element
These atoms are so generic. They are used by downstream frameworks.
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
framework/frameworks/oxbytei/oxbytei_externalAuthorActions/move-caret-before-current.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- editing atom --> | ||
<!-- this will move the caret before the current element. --> | ||
<a:authorAction xmlns:a="http://www.oxygenxml.com/ns/author/external-action" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.oxygenxml.com/ns/author/external-action http://www.oxygenxml.com/ns/author/external-action/authorAction.xsd" | ||
id="move.caret.before.current"> | ||
<a:name>Move caret before the current element</a:name> | ||
<a:description>Inserts a new section.</a:description> | ||
<a:operations> | ||
<a:operation id="MoveCaretOperation"> | ||
<a:xpathCondition>self::*</a:xpathCondition> | ||
<a:arguments> | ||
<a:argument name="position">Before</a:argument> | ||
<a:argument name="selection">Element</a:argument> | ||
<a:argument name="xpathLocation">self::*</a:argument> | ||
</a:arguments> | ||
</a:operation> | ||
</a:operations> | ||
<a:accessKey/> | ||
</a:authorAction> |
21 changes: 21 additions & 0 deletions
21
framework/frameworks/oxbytei/oxbytei_externalAuthorActions/move-caret-behind-current.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- editing atom --> | ||
<!-- this will move the caret behind the current element. --> | ||
<a:authorAction xmlns:a="http://www.oxygenxml.com/ns/author/external-action" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.oxygenxml.com/ns/author/external-action http://www.oxygenxml.com/ns/author/external-action/authorAction.xsd" | ||
id="move.caret.behind.current"> | ||
<a:name>Move caret behind the current element</a:name> | ||
<a:description>Inserts a new section.</a:description> | ||
<a:operations> | ||
<a:operation id="MoveCaretOperation"> | ||
<a:xpathCondition>self::*</a:xpathCondition> | ||
<a:arguments> | ||
<a:argument name="position">After</a:argument> | ||
<a:argument name="selection">Element</a:argument> | ||
<a:argument name="xpathLocation">self::*</a:argument> | ||
</a:arguments> | ||
</a:operation> | ||
</a:operations> | ||
<a:accessKey/> | ||
</a:authorAction> |