[Bf-docboard-svn] bf-manual: [9566] branches/blender-3.3-release/blender_docs: tools.syntax.kbd: add individual modifiers

Tobias Heinke noreply at blender.org
Tue Sep 13 08:11:26 CEST 2022


Revision: 9566
          https://developer.blender.org/rBM9566
Author:   TobiasH
Date:     2022-09-13 08:11:26 +0200 (Tue, 13 Sep 2022)
Log Message:
-----------
tools.syntax.kbd: add individual modifiers
side before to lower the similarity with arrow keys, more common, in reading direction
vice versa would be side as a subtype

Modified Paths:
--------------
    branches/blender-3.3-release/blender_docs/manual/modeling/curves/tools/pen.rst
    branches/blender-3.3-release/blender_docs/tools_rst/rst_check_syntax.py

Modified: branches/blender-3.3-release/blender_docs/manual/modeling/curves/tools/pen.rst
===================================================================
--- branches/blender-3.3-release/blender_docs/manual/modeling/curves/tools/pen.rst	2022-09-12 23:38:02 UTC (rev 9565)
+++ branches/blender-3.3-release/blender_docs/manual/modeling/curves/tools/pen.rst	2022-09-13 06:11:26 UTC (rev 9566)
@@ -63,11 +63,11 @@
       triggered on click and drag.
 
 Toggle Vector
-   :kbd:`Double-LMB` click on a handle to switch handle between *Vector* and *Auto* handle types.
+   Double click :kbd:`LMB` on a handle to switch handle between *Vector* and *Auto* handle types.
    Can be used to easily switch between sharp corners and smooth curves.
 
 Cycle Handle Type
-   :kbd:`Double-LMB` click on the control point to cycle through all handle types.
+   Double click :kbd:`LMB` on the control point to cycle through all handle types.
 
 
 Hotkeys
@@ -74,11 +74,11 @@
 =======
 
 Free-Align Toggle
-   Hold :kbd:`Left-Shift` while dragging a handle to switch between ``Free`` and ``Align`` handle types.
+   Hold :kbd:`LeftShift` while dragging a handle to switch between ``Free`` and ``Align`` handle types.
    Can be used to create sharp corners along the curve.
 
 Move Adjacent Handle
-   Hold :kbd:`Left-Ctrl` while dragging a handle to move the closer handle of the adjacent control point.
+   Hold :kbd:`LeftCtrl` while dragging a handle to move the closer handle of the adjacent control point.
    Can be helpful to make adjustments to newly created curve segments.
 
 Move Entire
@@ -85,8 +85,8 @@
    Hold :kbd:`Spacebar` while dragging a handle to move the entire point.
 
 Link Handles
-   Press :kbd:`Right-Ctrl` while dragging a handle to mirror its movement on the opposite handle of the same point.
+   Press :kbd:`RightCtrl` while dragging a handle to mirror its movement on the opposite handle of the same point.
 
 Lock Handle Angle
-   Hold :kbd:`Left-Alt` while dragging a handle to limit the movement of the handle to its current direction,
+   Hold :kbd:`LeftAlt` while dragging a handle to limit the movement of the handle to its current direction,
    so only its length can be adjusted.

Modified: branches/blender-3.3-release/blender_docs/tools_rst/rst_check_syntax.py
===================================================================
--- branches/blender-3.3-release/blender_docs/tools_rst/rst_check_syntax.py	2022-09-12 23:38:02 UTC (rev 9565)
+++ branches/blender-3.3-release/blender_docs/tools_rst/rst_check_syntax.py	2022-09-13 06:11:26 UTC (rev 9566)
@@ -112,6 +112,8 @@
 
     # config: allow "Regular key pressed as a modifier"
     regular_as_mod = True
+    # allow modifier pressed as a regular key
+    mod_as_regular = True
 
     pattern_str = ''.join((
         # Keyboard
@@ -135,6 +137,9 @@
             "Esc", "PageUp", "PageDown", "Home", "End",
             "Up", "Down", "Left", "Right", "Menu",
         )), '|',
+        # Individual modifier
+        r"(?:(?:Left|Right)(?:Alt|Ctrl|Shift))|" if mod_as_regular else '',
+
         # Numpad
         r"(?:Numpad(?:[0-9]|Plus|Minus|Delete|Slash|Period|Asterisk))|",
         # Function



More information about the Bf-docboard-svn mailing list