Difference between revisions of "Shortcuts"

From BaseX Documentation
Jump to navigation Jump to search
Line 33: Line 33:
 
|-
 
|-
 
|Move to top/bottom
 
|Move to top/bottom
 +
|Ctrl Home/End
 +
|⌘ ↑/↓
 +
|-
 +
|Scroll one line up/down
 
|Ctrl ↑/↓
 
|Ctrl ↑/↓
|↑/↓
+
|Alt ↑/↓
 +
|}
 +
 
 +
=== Find ===
 +
{|width="100%"
 +
|-
 +
|'''Description'''
 +
|'''Win/Linux'''
 +
|'''Mac'''
 +
|-
 +
|Find text
 +
|Ctrl F
 +
|⌘ F
 +
|-
 +
|valign="top"|Find next instance of text
 +
|valign="top"|Ctrl G<br/>F3
 +
|valign="top"|⌘ G<br/>⌘ F3
 +
|-
 +
|valign="top"|Find previous instance of text
 +
|valign="top"|Ctrl Shift G<br/>Shift F3
 +
|valign="top"|⌘ Shift G<br/>⌘ Shift F3
 +
|}
 +
 
 +
=== Find ===
 +
{|width="100%"
 +
|-
 +
|'''Description'''
 +
|'''Win/Linux'''
 +
|'''Mac'''
 +
|-
 +
|(Un)comment
 +
|Ctrl /
 +
|⌘ /
 
|}
 
|}
  
Line 40: Line 76:
 
</div><div style="float:left; width:48%;">
 
</div><div style="float:left; width:48%;">
  
=== Search ===
+
=== Editing ===
bla
+
{|width="100%"
 +
|-
 +
|'''Description'''
 +
|'''Win/Linux'''
 +
|'''Mac'''
 +
|-
 +
|Undo recent changes
 +
|Ctrl Z
 +
|⌘ Z
 +
|-
 +
|Redo recent changes
 +
|Ctrl Y
 +
|⌘ Shift Z
 +
|-
 +
|valign="top"|Cut selection
 +
|valign="top"|Ctrl X<br/>Ctrl Delete
 +
|valign="top"|⌘ X
 +
|-
 +
|valign="top"|Copy selection to clipboard
 +
|valign="top"|Ctrl C<br/>Ctrl Insert
 +
|valign="top"|⌘ C
 +
|-
 +
|valign="top"|Paste from clipboard
 +
|valign="top"|Ctrl V<br/>Shift Insert
 +
|valign="top"|⌘ V
 +
|-
 +
|Select All
 +
|Ctrl A
 +
|⌘ A
 +
|-
 +
|Delete character left of cursor
 +
|Backspace
 +
|-
 +
|Delete character right of cursor
 +
|Delete
 +
|-
 +
|Delete word left of cursor
 +
|Ctrl Backspace
 +
|Alt Backspace
 +
|-
 +
|Delete word right of cursor
 +
|Ctrl Delete
 +
|Alt Delete
 +
|-
 +
|Delete text left of cursor
 +
|Ctrl Shift Backspace
 +
|⌘ Backspace
 +
|-
 +
|Delete text right of cursor
 +
|Ctrl Shift Delete
 +
|⌘ Delete
 +
|}
 +
 
 
</div>
 
</div>

Revision as of 21:15, 29 January 2012

This page is part of the Advanced User's Guide. It contains information on the integrated text editor.

The text editor in the BaseX GUI can be used to create, edit and save XQuery expressions, XML documents and any other text-based files. It provides numerous shortcuts, which are listed below. If a key combinations differs on Mac computers, it is displayed in the third column.

Keyboard Shortcuts

Navigation

Description Win/Linux Mac
Move one character to the left/right ←/→
Move one word to the left/right Ctrl ←/→ Alt ←/→
Move to beginning/end of line Home/End ⌘ ←/→
Move one line up/down ↑/↓
Move one screen-full up/down Page ↑/↓
Move to top/bottom Ctrl Home/End ⌘ ↑/↓
Scroll one line up/down Ctrl ↑/↓ Alt ↑/↓

Find

Description Win/Linux Mac
Find text Ctrl F ⌘ F
Find next instance of text Ctrl G
F3
⌘ G
⌘ F3
Find previous instance of text Ctrl Shift G
Shift F3
⌘ Shift G
⌘ Shift F3

Find

Description Win/Linux Mac
(Un)comment Ctrl / ⌘ /
 

Editing

Description Win/Linux Mac
Undo recent changes Ctrl Z ⌘ Z
Redo recent changes Ctrl Y ⌘ Shift Z
Cut selection Ctrl X
Ctrl Delete
⌘ X
Copy selection to clipboard Ctrl C
Ctrl Insert
⌘ C
Paste from clipboard Ctrl V
Shift Insert
⌘ V
Select All Ctrl A ⌘ A
Delete character left of cursor Backspace
Delete character right of cursor Delete
Delete word left of cursor Ctrl Backspace Alt Backspace
Delete word right of cursor Ctrl Delete Alt Delete
Delete text left of cursor Ctrl Shift Backspace ⌘ Backspace
Delete text right of cursor Ctrl Shift Delete ⌘ Delete