Skip to content

Commit

Permalink
docs: Link to preferences from shortcuts page
Browse files Browse the repository at this point in the history
Also documented `[` and `]` shortcuts for switching tilesets and removed
some rather obsolete references to ancient Tiled versions.
  • Loading branch information
bjorn committed Jun 30, 2020
1 parent 14f8f5f commit 7970753
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
16 changes: 10 additions & 6 deletions docs/manual/keyboard-shortcuts.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Keyboard Shortcuts
==================

Try out these keyboard shortcuts to help save you time.
.. note::

Most of the below shortcuts can be changed in the :ref:`Preferences
<keyboard-options>`.

On Mac, replace ``Ctrl`` with the ``Command`` key.

Expand All @@ -25,11 +28,10 @@ General
- ``A`` - Invokes :doc:`automapping`
- ``Alt + C`` - Copy current position of mouse cursor to clipboard (in
tile coordinates)
- ``Ctrl + D`` - Duplicate selected objects (since Tiled 1.0, before it
was Delete)
- ``Ctrl + D`` - Duplicate selected objects
- ``Ctrl + Shift + D`` - Duplicate active layer
- ``F2`` - Rename (if applicable in context)
- ``Tab`` - Hide docks and tool bars (since Tiled 1.0)
- ``Tab`` - Hide docks and tool bars
- ``Ctrl + PgUp`` - Select previous layer (above current layer)
- ``Ctrl + PgDown`` - Select next layer (below current layer)
- ``Ctrl + Shift + Up`` - Move current layer up
Expand All @@ -40,6 +42,8 @@ General
- ``Ctrl + Shift + Tab`` - Switch to right document
- ``Alt + Left`` - Switch to left document
- ``Alt + Right`` - Switch to right document
- ``]`` - Select next tileset
- ``[`` - Select previous tileset
- ``Ctrl + G`` - Toggle displaying of the tile grid
- ``Ctrl + W`` - Close current document
- ``Ctrl + Shift + W`` - Close all documents
Expand Down Expand Up @@ -97,7 +101,7 @@ When an object layer is selected
- ``End`` - Move selected objects to Bottom (with Manual object
drawing order)

- ``O`` - Activate :ref:`edit-polygons-tool` (was ``E`` until Tiled 1.0)
- ``O`` - Activate :ref:`edit-polygons-tool`
- ``R`` - Activate :ref:`insert-rectangle-tool`
- ``I`` - Activate :ref:`insert-point-tool`
- ``C`` - Activate :ref:`insert-ellipse-tool`
Expand All @@ -108,7 +112,7 @@ When an object layer is selected

- ``T`` - Activate :ref:`insert-tile-tool`
- ``V`` - Activate :ref:`insert-template-tool` (since Tiled 1.1)
- ``E`` - Activate :ref:`insert-text-tool` (since Tiled 1.0)
- ``E`` - Activate :ref:`insert-text-tool`
- ``Ctrl + A`` - Select all objects in the current object layer
- ``Ctrl + Shift + A`` - Clear object selection

Expand Down
8 changes: 4 additions & 4 deletions docs/manual/using-commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ the following variables:
the current maps full path.

``%mappath``
the full folder path in which the map is located. (since Tiled 0.18)
the full folder path in which the map is located.

``%objecttype``
the type of the currently selected object, if any. (since Tiled 0.12)
the type of the currently selected object, if any.

``%objectid``
the ID of the currently selected object, if any. (since Tiled 0.17)
the ID of the currently selected object, if any.

``%layername``
the name of the currently selected layer. (since Tiled 0.17)
the name of the currently selected layer.

For the working directory field, you can additionally use the following
variable:
Expand Down
8 changes: 3 additions & 5 deletions docs/reference/tmx-map-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,12 @@ rendered.
- **format:** Used for embedded images, in combination with a ``data``
child element. Valid values are file extensions like ``png``,
``gif``, ``jpg``, ``bmp``, etc.
- *id:* Used by some versions of Tiled Java. Deprecated and unsupported
by Tiled Qt.
- *id:* Used by some versions of Tiled Java. Deprecated and unsupported.
- **source:** The reference to the tileset image file (Tiled supports most
common image formats). Only used if the image is not embedded.
- **trans:** Defines a specific color that is treated as transparent
(example value: "#FF00FF" for magenta). Up until Tiled 0.12, this
value is written out without a ``#`` but this is planned to change.
(optional)
(example value: "#FF00FF" for magenta). Including the "#" is optional
and Tiled leaves it out for compatibility reasons. (optional)
- **width:** The image width in pixels (optional, used for tile index
correction when the image changes)
- **height:** The image height in pixels (optional)
Expand Down

0 comments on commit 7970753

Please sign in to comment.