TextEditSearch Method |
Perform a search inside the text. Search flags can be specified in the TextEditSearchFlags enum.
Returns an empty PoolIntArray if no result was found. Otherwise, the result line and column can be accessed at indices specified in the TextEditSearchResult enum, e.g:
var result = search(key, flags, line, column) if result.size() > 0: # Result found. var res_line = result[TextEdit.SEARCH_RESULT_LINE] var res_column = result[TextEdit.SEARCH_RESULT_COLUMN]
Namespace: Godot
public int[] Search( string key, uint flags, int fromLine, int fromColumn )
[Missing <param name="key"/> documentation for "M:Godot.TextEdit.Search(System.String,System.UInt32,System.Int32,System.Int32)"]
[Missing <param name="flags"/> documentation for "M:Godot.TextEdit.Search(System.String,System.UInt32,System.Int32,System.Int32)"]
[Missing <param name="fromLine"/> documentation for "M:Godot.TextEdit.Search(System.String,System.UInt32,System.Int32,System.Int32)"]
[Missing <param name="fromColumn"/> documentation for "M:Godot.TextEdit.Search(System.String,System.UInt32,System.Int32,System.Int32)"]
[Missing <returns> documentation for "M:Godot.TextEdit.Search(System.String,System.UInt32,System.Int32,System.Int32)"]