Slaps Dialog » History » Revision 2
Revision 1 (Per Amundsen, 03/27/2021 05:19 AM) → Revision 2/3 (Per Amundsen, 03/27/2021 05:23 AM)
{{>toc}}
h1. Slaps Editor
!slapseditor.png!
The slaps editor allows adding or editing or viewing custom [[/slap|slaps]].
it can be opened by clicking [[Menubar_Control|Menubar]] -> Tools -> Edit Slaps or by typing [[/edit]] -l.
The editor shares characteristics with all the other editors.
_See also [[/slap]], [[Editor Options]]._
h2. Slaps format
$nick or $1 can be used to reference a the target nick.
h2. Saving slaps to a different file
To save the current slaps file to a different file, click the Menubar (inside the editor) -> File -> Save As menu item.
h2. Loading slaps from a different file
To load slaps from a different file, click the Menubar (inside the editor) -> File -> Load menu item.
h2. Search/replace text
Clicking the Menubar (inside the editor) -> Edit -> Find or pressing the %(key)CTRL% + %(key)F% shortcut opens the search and replace panel.
You can search or search and replace using a [[Scripting_Regex|Regular Expression]] by checking the *Regex* checkbox.
Pressing the %(key)ESCAPE% key closes the search panel.
h2. Font
The font of the editor can be changed by clicking the Menubar (inside the editor) -> File -> Change Font menu item.
_Note: only "truetype":https://en.wikipedia.org/wiki/TrueType fonts can be used._
h2. Colors
The editor colors can be changed in [[Options Dialog|Options]] -> [[Colors Options|Colors]].