Content:
The Editor
FAQ
Renaming atoms
Settings
Symmetry related things
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
icon | short-cut (MacOs) | description |
---|---|---|
Ctrl+Z (Cmd+Z) | Undo the last edit step. | |
Ctrl+Y (Shift+Cmd+Z) | Redo the last edit step. | |
Ctrl+X (Cmd+X) | Cut out the selected text to Clipboard. | |
Ctrl+C (Cmd+C) | Copy the selected text to Clipboard. | |
Ctrl+V (Cmd+V) | Paste the text in clipboard after the cursor. | |
Ctrl+F (Cmd+F) | Invoke the Search and Replace Tool |
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
icon | short-cut (MacOs) | description |
---|---|---|
Ctrl+S (Cmd+S) | Saves current changes in editor to file and synchronizes the visualization with editor content. | |
Ctrl+ + (Cmd+ +) | Increases fontsize of editor and list file viewer. | |
Ctrl+ - (Cmd+ -) | Decreases fontsize of editor and list file viewer. |
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
example | description |
---|---|
SHELXL instruction card | |
This is a comment for a whole line | |
This is a comment for the rest of line | |
This is a temporary comment. If a line starts with at least one space character it will be ignored by SHELXL and its content deleted after a SHELXL run. Useful as an easy way of deleting atoms. | |
These are numbers |n| < 10 and |n| > 10 | |
A contiuation line. Lines can be continuated by adding '=' to the end of one line and begining the next line with at least one space. | |
This line is too long! Lines in shelx.ins or shelx.res files are not allowed to exceed more than 80 characters. |
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
example | description |
---|---|
If the mouse stays for a while on a line with an instruction then a short description of the insruction and its possible arguments is diplayed as a Tool-Tip. | |
Here an example of an instruction with more than one version. | |
Free variables used are interpreted and the result is shown as a Tool-Tip. | |
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
If you wish to locate an atom of your editor file in the structure visualization window then right click on the line that contains the atoms name and chose in the pop-up menu 'locate ... in structure'.
The atom will get selected and centred in the visualization window.
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
The search and replace sub window is shown when either 'Ctrl+F' (Cmd+F) or 'F3' is pressed on the keyboard or the icon is clicked. The text in the search-text input is interpreted as a regular expression.
If the search text does not match anything in the editor the search-text input window gets colored dark red.
The search text in the example above would match all hydrogen atoms in the structure.
'^'means that the characters following must be at the beginning of the line.
'\d+'means that characters 0-9 will match if they apear one or more times.
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
Element | Meaning |
---|---|
c | A character represents itself unless it has a special regexp meaning. e.g. c matches the character c. |
\c | A character that follows a backslash matches the character itself, except as specified below. e.g., To match a literal caret at the beginning of a string, write \^. |
\n | Matches the ASCII line feed (LF, 0x0A, Unix newline). |
\r | Matches the ASCII carriage return (CR, 0x0D). |
\t | Matches the ASCII horizontal tab (HT, 0x09). |
. (dot) | Matches any character (including newline). |
\d | Matches a digit. |
\D | Matches a non-digit. |
\s | Matches a whitespace character. |
\S | Matches a non-whitespace character. |
\w | Matches a word character or '_'). |
\W | Matches a non-word character. |
Expression Quantifier | Description |
---|---|
E? | Matches zero or one occurrences of E. This quantifier means The previous expression is optional, because it will match whether or not the expression is found. E? is the same as E{0,1}. e.g., dents? matches 'dent' or 'dents'. |
E+ | Matches one or more occurrences of E. E+ is the same as E{1,}. e.g., 0+ matches '0', '00', '000', etc. |
E* | Matches zero or more occurrences of E. It is the same as E{0,}. The * quantifier is often used in error where + should be used. For example, if \s*$ is used in an expression to match strings that end in whitespace, it will match every string because \s*$ means Match zero or more whitespaces followed by end of string. The correct regexp to match strings that have at least one trailing whitespace character is \s+$. |
E{n} | Matches exactly n occurrences of E. E{n} is the same as repeating E n times. For example, x{5} is the same as xxxxx. It is also the same as E{n,n}, e.g. x{5,5}. |
E{n,} | Matches at least n occurrences of E. |
E{,m} | Matches at most m occurrences of E. E{,m} is the same as E{0,m}. |
E{n,m} | Matches at least n and at most m occurrences of E. |
Assertion | Description |
---|---|
^ | The caret signifies the beginning of the string. If you wish to match a literal ^ you must escape it by writing \\^. For example, ^#include will only match strings which begin with the characters '#include'. (When the caret is the first character of a character set it has a special meaning. |
$ | The dollar signifies the end of the string. For example \d\s*$ will match strings which end with a digit optionally followed by whitespace. If you wish to match a literal $ you must escape it by writing \\$. |
\b | A word boundary. For example the regexp \bOK\b means match immediately after a word boundary (e.g. start of string or whitespace) the letter 'O' then the letter 'K' immediately before another word boundary (e.g. end of string or whitespace). But note that the assertion does not actually match any whitespace so if we write (\bOK\b) and we have a match it will only contain 'OK' even if the string is "It's OK now". |
\B | A non-word boundary. This assertion is true wherever \b is false. For example if we searched for \Bon\B in "Left on" the match would fail (space and end of string aren't non-word boundaries), but it would match in "tonne". |
(?=E) | Positive lookahead. This assertion is true if the expression matches at this point in the regexp. For example, const(?=\s+char) matches 'const' whenever it is followed by 'char', as in 'static const char *'. (Compare with const\s+char, which matches 'static const char *'.) |
(?!E) | Negative lookahead. This assertion is true if the expression does not match at this point in the regexp. For example, const(?!\s+char) matches 'const' except when it is followed by 'char'. |
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top
Content:
The Editor Toolbar
Other Related Toolbar Icons
Syntax Highlighting
Mouse Over Tool Tips
Locating Atoms Found in Editor in the Three Dimensional Structure Visualization
Search and Replace
Regular Expressions
Code Completor
AFIX Block Highlighter
PART Block Highlighter
Top