Pentru a putea vota, modifica pagini sau abona la modificările unei pagini trebuie să fiți autentificați. Cu această ocazie scăpați și de acest mesaj deranjant.

Ajutor:What is a syntax highlighting editor?

De la l10n.ro
Versiunea din 15 noiembrie 2007 01:25, autor: 127.0.0.1 (Discuție) (What is a syntax highlighting editor?)
(dif) ← Versiunea anterioară | Versiunea curentă (dif) | Versiunea următoare → (dif)
Salt la: navigare, căutare
Question
Question:=What is a syntax highlighting editor?
Answer
Description:=The SHE marks special entries in the wikitext and enables easy orientation in the text of a page you edit.

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:

SHEundo.gif - Undo last step (maximum: 10 steps)

SHEredo.gif - Redo last step (maximum: 10 steps)

SHEtoggle.gif - Toggle syntax highlighting on or off

SHEresync.gif - Resync highlighting manually if it is out of sync

SHEsmooth.gif - Smooth display mode

SHEhelp.gif - Help