Ajutor:What is a syntax highlighting editor?
Cuprins
Prerequisites
In order ro use the syntax highlighted editor (SHE), you have to use the "OntoSkin" skin. Go to "my preferences" -> "Skin" and pick "OntoSkin".
(De)Activating the syntax highlighted editor
In order to activate the SHE, simply check the "Switch between syntax highlighted and standard editor" checkbox. The SHE then will be loaded automatically. If you want to switch back to the standard editor, simply click the checkbox again.
Highlighting colors
Type | Highlighting style | Example |
---|---|---|
Relation | color: green, font-weight: bold | [[TestRelation::Abcd]] |
Attribute | color: orange, font-weight: bold | [[TestAttribute::1234]] |
Category | color: blue, font-weight: bold | [[Category:Test]] |
Template | color: red | {{Testtemplate}} |
Link | color: blue, text-decoration: underline | [http://www.ontoprise.de] |
Functions of the syntax highlighted editor
At the top of the SHE, there is a toolbar with various functions. The first ten buttons are the same as in the standard editor and are used for insertion of wiki syntax (for example bold, italic, link, image). Furthermore, there ar some additional buttons that provide extra functionality:
- Undo last step (maximum: 10 steps)
- Redo last step (maximum: 10 steps)
- Toggle syntax highlighting on or off