Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » SQL Anywhere Server - Database Administration » Administering your database » SQL Anywhere graphical administration tools » Using Sybase Central » Using the Code Editor

 

Code Editor keyboard shortcuts

Sybase Central provides the following keyboard shortcuts for the Code Editor.

Function key Description
Alt+F4 Closes the Code Editor (if a separate window) or closes Sybase Central if you are editing text in the right pane of Sybase Central.
Backspace Deletes the selection. If nothing is selected, pressing Backspace deletes the character to the left of the cursor.
Ctrl+] Moves the cursor to the matching brace. Use this shortcut to match parentheses, braces, brackets, and angle brackets.
Ctrl+A Selects the entire contents of the Code Editor window.
Ctrl+Backspace Deletes the word to the left of the cursor.
Ctrl+C Copies the selected text to the clipboard.
Ctrl+Delete Deletes the word to the right of the cursor.
Ctrl+End Moves the cursor to the bottom of the Code Editor window.
Ctrl+F Opens the Find/Replace window where you can search for and replace the specified text if you have not searched for text in the current window. Otherwise, this searches for the next occurrence of the specified text.
Ctrl+F3 Finds the next occurrence of the currently-selected text.
Ctrl+G Opens the Go To window where you can specify the line location you want to go to within the Code Editor window.
Ctrl+Home Moves the cursor to the top of the Code Editor window.
Ctrl+L Deletes the current line.
Ctrl+Left Arrow Moves the cursor back one word.
Ctrl+N Clears the contents of the Code Editor window and closes the current file (if any). This shortcut cannot be used from the SQL tab in the right pane of Sybase Central.
Ctrl+O Opens a file when the Code Editor is open as a separate window. This shortcut cannot be used from the SQL tab in the right pane of Sybase Central.
Ctrl+P Prints the contents of the Code Editor window. You can configure the appearance of the printed text: from the Tools menu, choose Options, and then click the Print tab.
Ctrl+Right Arrow Moves the cursor forward one word.
Ctrl+S Saves the contents of the Code Editor window.
Ctrl+Shift+] Extends the selection to the matching brace. Use this shortcut to match parentheses, braces, brackets, and angle brackets.
Ctrl+Shift+End Extends the selection to the end of the code.
Ctrl+Shift+F3 Find the previous occurrence of the currently-selected text.
Ctrl+Shift+Home Extends the selection to the beginning of the code.
Ctrl+Shift+L Deletes the current line.
Ctrl+Shift+Left Arrow Extends the selection back one word.
Ctrl+Shift+Right Arrow Extends the selection forward one word.
Ctrl+Shift+U Changes the selection to uppercase characters.
Ctrl+Shift+Period (.)

Increases the line indentation of selected text in the Code Editor window. If no text is selected, the indentation is applied to the current line.

Ctrl+Shift+Comma (,)

Decreases the line indentation of selected text in the Code Editor window. If no text is selected, the indentation is applied to the current line.

Ctrl+U Changes the selection to lowercase characters.
Ctrl+V Inserts the Clipboard contents at the current cursor location.
Ctrl+X Cuts the selected text.
Ctrl+Y Redoes the most recently undone action.
Ctrl+Z Undoes the last action.
Ctrl+Minus Sign (-)

Adds and removes the double-hyphen (--) SQL comment indicator.

To turn existing text into comments, select the text in the Code Editor window and press Ctrl+minus sign. The double-hyphen, SQL comment indicator is added to the start of the lines that contain the selected text.

If no text is selected, the comment indicator is added to the start of the current line.

To remove a comment indicator, select the text and press Ctrl+minus sign.

See Comments.

Ctrl+Forward Slash (/)

Adds and removes the double-slash (//) SQL comment indicator.

To turn existing text into comments, select the text in the Code Editor window and press Ctrl+forward slash. The double-slash, SQL comment indicator is added to the start of the lines that contain the selected text.

If no text is selected, the comment indicator is added to the start of the current line.

To remove a comment indicator, select the text and press Ctrl+forward slash.

See Comments.

Delete Deletes the selection.
Down Arrow Moves the cursor down one line.
End Moves the cursor to the end of the current line.
F3 Opens the Find/Replace window where you can search for and replace the specified text if you have not searched for text in the current window. Otherwise, this searches for the next occurrence of the specified text.
Home Move the cursor to the start of the current line or to the start of the text on the current line.
Left Arrow Moves the cursor one character to the left.
Page Down Moves the cursor to the end of the current page.
Page Up Moves the cursor to the top of the current page.
Right Arrow Moves the cursor one character to the right.
Shift+Down Arrow Extends the selection down one line.
Shift+End Selects the current line.
Shift+F3 Opens the Find/Replace window where you can search for and replace the specified text if no text is selected. If text is selected, finds the previous occurrence of the selected text.
Shift+F10

Displays the popup menu for the area that has focus.

This keyboard shortcut is an alternative to right-clicking an area.

Shift+Home Extends the selection to the start of the text on the current line.
Shift+Left Arrow Extends the selection one character to the left of the currently selected character(s).
Shift+Page Down Extends the selection down one page.
Shift+Page Up Extends the selection up one page.
Shift+Right Arrow Extends the selection one character to the right of the currently selected character(s).
Shift+Up Arrow Extends the cursor up one line.
Up Arrow Moves the cursor up one line.