Perform a search inside the text. Search flags can be specified in the searchflags enum. Returns an empty PoolIntArray if no result was found. Otherwise, the result line and column can be accessed at indices specified in the searchresult enum, e.g:
var result = search(key, flags, line, column) if result.size() > 0: # Result found. var res_line = resultTextEdit.SEARCH_RESULT_LINE var res_column = resultTextEdit.SEARCH_RESULT_COLUMN
See Implementation
Perform a search inside the text. Search flags can be specified in the searchflags enum. Returns an empty PoolIntArray if no result was found. Otherwise, the result line and column can be accessed at indices specified in the searchresult enum, e.g: