# Editing basics
# Keyboard Manipulation
# Syntax Highlighting
Whisk provides syntax highlighting for the following languages:
Colors and showing invisible characters can be adjusted in the Interface Preferences.
When making a new line, Whisk will preserve the leading indentation of the previous line. This can be configured in the Interface Preferences.
You can use the Outdent and Indent toolbar buttons, Text > Shift Right/Shift Left or Command-] and Command-[ to adjust the leading indentation of the current selected lines.
Whisk will by default show line numbers in the gutter on the left. This can be disabled in the Interface Preferences.
To jump immediately to a specific line, you can choose the Text > Go to Line… menu item (or Command-L) and choose a line number to select.
# Find and Replace
Whisk uses OgreKit to provide Find/Replace functionality. This powerful find panel allows for entering regular expressions, highlighting multiple results, and much more.
# Spell Checking
Automatic spell checking is disabled, as this is often inappropriate for source code. You can choose the Edit > Spelling and Grammar menu to configure if/when the document is checked.
You can quickly spot-check spelling by hitting Command-; (semicolon). It will check starting at the current text cursor position.
# Configuring the editor
All other features and options for the Source Editor are configured in the Interface Preferences.
# Text Encodings
Text Encoding, otherwise known as character encoding or charsets, is how computers convert between on-screen text and their underlying data representation on disk. A language like English has very different characters than one like Japanese, so a different encoding is needed for computers to efficiently store the text. In the past, there were encodings used for both different languages and different operating systems, since the operating system creator often decided how they wanted to represent the characters on disk. In the last two decades, the world has slowly converged on a single standard, Unicode, which can represent nearly every major language. As computers have become more powerful and we interact globally through the internet, efficient storage is less of a concern than compatibility. Specifically, Unicode's UTF-8 representation has become the most common and recommend text encoding.
By default, Whisk will open and save files using UTF-8. You probably will not need to change this.
However, older documents may have made use of different encodings. You can adjust the text encodings used to open and save documents in the General Preferences. The File Inspector allows you to set the text encoding for writing the file. This setting is preserved in Whisk's database tied to the file path.