mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add keywords to improve search in the class reference
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="TextEdit" inherits="Control" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<class name="TextEdit" inherits="Control" keywords="textarea" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
A multiline text editor.
|
||||
</brief_description>
|
||||
@@ -1144,7 +1144,7 @@
|
||||
<member name="draw_tabs" type="bool" setter="set_draw_tabs" getter="is_drawing_tabs" default="false">
|
||||
If [code]true[/code], the "tab" character will have a visible representation.
|
||||
</member>
|
||||
<member name="editable" type="bool" setter="set_editable" getter="is_editable" default="true">
|
||||
<member name="editable" type="bool" setter="set_editable" getter="is_editable" default="true" keywords="readonly, disabled, enabled">
|
||||
If [code]false[/code], existing text cannot be modified and new text cannot be added.
|
||||
</member>
|
||||
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="2" />
|
||||
@@ -1480,7 +1480,7 @@
|
||||
<theme_item name="normal" data_type="style" type="StyleBox">
|
||||
Sets the [StyleBox] of this [TextEdit].
|
||||
</theme_item>
|
||||
<theme_item name="read_only" data_type="style" type="StyleBox">
|
||||
<theme_item name="read_only" data_type="style" type="StyleBox" keywords="enabled, disabled, editable">
|
||||
Sets the [StyleBox] of this [TextEdit] when [member editable] is disabled.
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
|
||||
Reference in New Issue
Block a user