.. _editor_hotkeys:

=======
Hotkeys
=======

Activate Auto-Completion
************************

While the cursor is anywhere within the :ref:`Editor Pane`:

:Ctrl+Space:       Pop-up auto-completion list



Value Modification
******************

While the cursor is within an attribute's value:

:Ctrl+Up:
:Ctrl+Down:        Modify value by 1 (with live update in preview)

:Ctrl+Shift+Up:
:Ctrl+Shift+Down:  Modify value by 10 (with live update in preview)



Export and Build
****************

:Ctrl+E:               Export code only
:Ctrl+B:               Export code and recompile
:Ctrl+Shift+B:         Clean and rebuild



Preview Pane
************

:Ctrl+mousewheel:      Zoom in and out
:Ctrl++:               Zoom in
:Ctrl+-:               Zoom out
:Ctrl+0:               Reset zoom
:Ctrl+Shift+0:         Fit to screen
:Two-Fingered Scroll:  Pan preview


Pressing the Ctrl key also allows you to:

- visualise bounding box, padding, margins and click area,
- check size and position by dragging,
- perform measurement,
- double click to jump to the XML file,
- single click to change editor focus to the matching XML element.
