<oXygen/> XML Editor User Guide |
<oXygen/> provides user actions common in any text editor:
Ctrl+Z)or the toolbar button to reverse a maximum of 100 editing actions to return to the preceding state. Complex operations like "Replace All", "Indent selection", etc are treated as a single undo event.
-> (Ctrl+Shift+Z)or the toolbar button to recreate a maximum of 100 editing actions that were undone by the Undo function.
-> (Ctrl+X)or the toolbar button to remove the current selected node from the document and places it in the clipboard.
-> (Ctrl+C)or the toolbar button to place a copy of the current selection in the clipboard.
-> (Ctrl+V)or the toolbar button to place the current clipboard content into the document at the cursor position.
-> (Ctrl+A) selects the entire body of the current document, including whitespace preceding the first and following the last character.
-> (The Find and Replace option ( Ctrl+F) or the toolbar button ) enables you to define "search for" or "search for and replace" operations on the current document. The replace operation can bind Perl 5-like regexp group variables ($1, $2, etc.) from the find match.
-> (find occurrences of a word or string of characters including white spaces and highlight the position in the editor.
replace occurrences of target defined in the Find field with a word or string of characters, including white spaces, defined in the Replace field.
find all occurrences of a word or string of characters including white spaces and return a result list to the Message Panel.
replace all occurrences of a word or string of characters including white spaces.
Complete the dialog as follows:
The target character string to search for.
The character string with which to replace the target. It may contain '{$NEWLINE}' which at the replace time will insert a new line character.
The XPath 2.0 expression entered in this combo is used to restrict the search scope. It is applied only at the first search ommand (Find, Replace, Find all, Replace to end) after the user changes the content of this combo so that he is able to replace tag names covered by the current XPath expression.
Specify if the search direction is from current position to end of file (forward direction) or to start of file (backward direction).
Specify if the search is executed on all file or only on the lines that were selected when the dialog was invoked. If the selection was on a single line the search is executed on all the file.
Execute a find operation for the next occurrence of the target and stop.
Execute a replace operation for the target followed by a find operation for the next occurance.
Executes a find operation and returns all results to the Message Panel.
Execute a replace operation starting from current target until the end of the document, in the direction specified by the current selection of the Direction switch (forward or backward).
When checked, operations are case sensitive.
When checked only whole occurrences of a word will be included in the operation.
When checked, operation will include content of the start and end tags of the XML elements.
When checked allows using any regular expression in PERL syntax.
Starts the operation from start of file, position 0:0.
Continues the find from the start (end) of the document after reaching the end (start) if the search is in forward (backward) direction.
F3) performs another search in forward direction using the last search configuration.
-> (Shift+F3) performs another search in backward direction using the last search configuration.
-> (The Find and Replace in Files option ( Cancel button of the progress dialog displayed while the operation is executed.
-> or the toolbar button ) enables you to define "search for" or "search for and replace" operations across a number of files. The replace operation can bind Perl 5-like regexp group variables ($1, $2, etc.) from the search match. You can cancel a long operation at any time by pressing theComplete the dialog as follows:
The target character string to search for.
When checked, operations are case sensitive.
When checked only whole occurrences of a word will be included in the operation.
When checked, operation will include content of the start and end tags of the XML elements.
When checked allows using any regular expression in PERL syntax.
The character string with which to replace the target. It may contain '{$NEWLINE}' which at the replace time will insert a new line character.
In the replace process <oXygen/> makes backup files of the modified files. The default extension is *bak, but you can change extension as you prefer.
Choose the search path
Use the path of the current file
Search the files from the current project using the specified file filter.
Search only in the selected files of the current opened project
![]() | Note |
---|---|
The search is performed only on local files. If you have added to the project remote files from an FTP or Webdav server these will be skipped from the search. |
Executes a find operation and returns the result list to the Message Pane
Replaces all occurrences of the target contained in the specified files.
![]() | Use this option with caution. |
---|---|
Global search and replace across all project files does not open the files containing the targets, nor does it prompt on a per occurrence basis, to confirm that a replace operation must be performed. As the operation simply matches the string defined in the find field, this may result in replacement of matching strings that were not originally intended to be replaced. |
The Check Spelling option ( F4) or the toolbar button ) enables you to perform the check spelling on the current document:
-> (Complete the dialog as follows:
Contains the word that cannot be found in the selected dictionary. The word is also highlighted in the XML document.
The character string which is suggested to replace the unrecognized word.
Displays a list of words suggested to replace the unknown word. Double clicking a word in this list automatically inserts it in the document and continues the spell checking process.
Displays a list with the available dictionaries.
Replaces the currently highlighted word in the XML document, with the selected word in the "Replace with" field.
Replaces all occurrences of the currently highlighted word in the XML document, with the selected word in the "Replace with" field.
Allows you to continue checking the document while ignoring the first occurrence of the unknown word. The same word will be flagged again if it appears in the document.
Ignores all instances of the unknown word in the whole document.
Includes the unrecognized word in the list of valid words so that the spell checker will no longer consider it for correction.
Sets the configuration options of the Spell Checker.
When checked, the spell checker begins checking from the current cursor position.
Closes the Spell Checker dialog.
The Options dialog contains the global check spelling options:
When checked, operations ignore capitalization errors.
When checked, operations do not check words containing case mixing (e.g. "SpellChecker").
When checked, the Spell Checker do not check words containing digits (e.g. "b2b").
When checked, the Spell Checker do not signal two successive identical words as an error.
When checked, ignores words looking like URL or file names (e.g. "www.oxygenxml.com" or "c:\boot.ini") .
When checked, punctuation checking is enabled: misplaced white space and wrong sequences, like a dot following a comma, are detected.
Enables the "Replace Always" feature.
When checked, all words formed by concatenating two legal words with an hyphen are accepted. If the language allows it, two words concatenated without hyphen are also accepted.
When checked, a word formed by concatenating a registered prefix and a legal word is accepted. For example if "mini-" is a registered prefix, accepts "mini-computer".
When checked, accepts any word ending with registered file extensions (e.g. "myfile.txt", "index.html" etc.).
This option indicates the type of spell checker accuracy, which may be: "Favour speed over quality", "Normal" and "Favour quality over speed".
<oXygen/> provides dictionaries only for the languages English (EN,
GB, CA, US), French (FR, BE, CA, CH) and German in the form of .dar files
located in the directory [oXygen-install-dir]/dicts
. A pre-built dictionary can
be added by copying the corresponding .dar archive to the same directory and
restarting <oXygen/>. A dictionary can be built with the tool available at
http://www.xmlmind.com/spellchecker/dictbuilder.shtml.
Learned words are stored into an persistent learned-words dictionary with the .tdi extensions located in [user-home-dir]/spell directory ([user-home-dir]/.spell directory on Mac OS X). There is one dictionary for each language-country variant combination. If the Learn button is pressed by mistake the only possibility to delete the learned word from the learned-words dictionary is to edit this dictionary manually and restart <oXygen/> because the spell-check component does not allow its editing by the user interface.
![]() | Note |
---|---|
The Czech check spelling dictionary may be downloaded from http://www.kosek.cz/sw/xxe/cs.dar |
Ctrl+P) displays the Page Setup dialog used to define the page size and orientation properties for printing.
-> (+ -> inserts in a file under the current position of the caret in the current document.
+ -> opens edited file with default application associated on current machine.
+ -> : Opens in a new panel the file with the name under the current position of the caret in the current document.