About Features Help Feedback Privacy
anWriter
text editor for web programmers

Help: Editor controls

Bottom toolbar with editor controls contains:

Auto complete
Toggles menu for autocompletions
Insertions area
Contains most useful symbols for current document type. Symbol will be inserted when tapped.
Cursor movement & selection
Toggles cursor movement and selection panel
Cursor buttons
Allow to move cursor in editor.
Select
Toggles selection mode.

The sidebar contains a list of currently opened documents. The top of sidebar contains an information about the currently active document: size, name and full path.

A tap on the document name it the list makes it active.

A long tap on the document name in list opens a context menu, that allows close this document, close all curently opened documents or close all other opened documents.

Help: Keyboard shortcuts

If you use a hardware keyboard, or the onscreen "Hacker's keyboard", you can use such keyboard shortcuts:

Ctrl+s
Saves an active document
Ctrl+z
Undoes a last performed command
Ctrl+a
Selects all text
Ctrl+c
Copies a selected text to a clipboard.
Ctrl+v
Pastes a text from a clipboard
Ctrl+x
Removes a selected text and copies it to a clipboard
Ctrl+f
Toggles Find and replace toolbar
Shift+tab
Toggles autocompletion menu.
Ctrl+tab
Switches between documents.
Ctrl+n
Creates a new document
Ctrl+o
Opens a document
Ctrl+w
Closes a document.
Ctrl+p
Opens the Settings.

pro version:

Ctrl+t
Toggles toolbars
Ctrl+y
Redo

Help: Find and replace

The Find and replace toolbar can be shown with the Search item from the main toolbar or Ctrl+f keys.

The Find operation uses regular expressions, so you can perform complex find and replace operations.

But, if you not familar with RE, and want to perform simple search, you must know next:

Symbols []{}.\*+?^&()| has a special meanings in RE, so you must screen them with the "slash" character \.

For example: if you search .getElementsByTagName(, you must write \.getElementsByTagName\(.

Using a search result in a replace string

If your regular expression contains groups, made with (), you can insert a group values into a replace string, using the \ and number of the group

For example, the search string is width = "(\d+)" and the replacement string is width="\1px"

Digits that will be found by the search operation, will be inserted in the replace string instead of \1.