Browse Source

doc: Sync classref with current source

(cherry picked from commit fef49bff0ba219af9bdac903cbb3b6953cbc7b8b)
Rémi Verschelde 5 years ago
parent
commit
c80ab247b7
1 changed files with 19 additions and 1 deletions
  1. 19 1
      doc/classes/LineEdit.xml

+ 19 - 1
doc/classes/LineEdit.xml

@@ -41,7 +41,25 @@
 			<return type="void">
 			</return>
 			<description>
-				Erases the [LineEdit] text.
+				Erases the [LineEdit]'s [member text].
+			</description>
+		</method>
+		<method name="delete_char_at_cursor">
+			<return type="void">
+			</return>
+			<description>
+				Deletes one character at the cursor's current position (equivalent to pressing the [code]Delete[/code] key).
+			</description>
+		</method>
+		<method name="delete_text">
+			<return type="void">
+			</return>
+			<argument index="0" name="from_column" type="int">
+			</argument>
+			<argument index="1" name="to_column" type="int">
+			</argument>
+			<description>
+				Deletes a section of the [member text] going from position [code]from_column[/code] to [code]to_column[/code]. Both parameters should be within the text's length.
 			</description>
 		</method>
 		<method name="deselect">