TextEdit.search

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:

More...
struct TextEdit
@nogc nothrow const
PoolIntArray
search
(
in String key
,
in long flags
,
in long from_line
,
in long from_column
)

Detailed Description

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

Meta