|
@@ -582,6 +582,8 @@ If ``true``, the line containing the cursor is highlighted.
|
|
|
| *Getter* | is_drawing_minimap() |
|
|
|
+-----------+----------------------+
|
|
|
|
|
|
+If ``true``, a minimap is shown, providing an outline of your source code.
|
|
|
+
|
|
|
----
|
|
|
|
|
|
.. _class_TextEdit_property_minimap_width:
|
|
@@ -596,6 +598,8 @@ If ``true``, the line containing the cursor is highlighted.
|
|
|
| *Getter* | get_minimap_width() |
|
|
|
+-----------+--------------------------+
|
|
|
|
|
|
+The width, in pixels, of the minimap.
|
|
|
+
|
|
|
----
|
|
|
|
|
|
.. _class_TextEdit_property_override_selected_font_color:
|
|
@@ -674,6 +678,10 @@ The current vertical scroll value.
|
|
|
| *Getter* | is_selecting_enabled() |
|
|
|
+-----------+------------------------------+
|
|
|
|
|
|
+If ``true``, text can be selected.
|
|
|
+
|
|
|
+If ``false``, text can not be selected by the user or by the :ref:`select<class_TextEdit_method_select>` or :ref:`select_all<class_TextEdit_method_select_all>` methods.
|
|
|
+
|
|
|
----
|
|
|
|
|
|
.. _class_TextEdit_property_shortcut_keys_enabled:
|
|
@@ -688,6 +696,8 @@ The current vertical scroll value.
|
|
|
| *Getter* | is_shortcut_keys_enabled() |
|
|
|
+-----------+----------------------------------+
|
|
|
|
|
|
+If ``true``, shortcut keys for context menu items are enabled, even if the context menu is disabled.
|
|
|
+
|
|
|
----
|
|
|
|
|
|
.. _class_TextEdit_property_show_line_numbers:
|
|
@@ -815,6 +825,8 @@ Returns if the given line is foldable, that is, it has indented lines right belo
|
|
|
|
|
|
- void **center_viewport_to_cursor** **(** **)**
|
|
|
|
|
|
+Centers the viewport on the line the editing cursor is at. This also resets the :ref:`scroll_horizontal<class_TextEdit_property_scroll_horizontal>` value to ``0``.
|
|
|
+
|
|
|
----
|
|
|
|
|
|
.. _class_TextEdit_method_clear_colors:
|
|
@@ -1095,6 +1107,8 @@ Returns an empty ``PoolIntArray`` if no result was found. Otherwise, the result
|
|
|
|
|
|
Perform selection, from line/column to line/column.
|
|
|
|
|
|
+If :ref:`selecting_enabled<class_TextEdit_property_selecting_enabled>` is ``false``, no selection will occur.
|
|
|
+
|
|
|
----
|
|
|
|
|
|
.. _class_TextEdit_method_select_all:
|
|
@@ -1103,6 +1117,8 @@ Perform selection, from line/column to line/column.
|
|
|
|
|
|
Select all the text.
|
|
|
|
|
|
+If :ref:`selecting_enabled<class_TextEdit_property_selecting_enabled>` is ``false``, no selection will occur.
|
|
|
+
|
|
|
----
|
|
|
|
|
|
.. _class_TextEdit_method_set_line:
|