scripting:api:text-document:find-all

FindAll

Method of ITextDocument

Finds all text matches in the document

var ppRanges = TextDocument.FindAll(strText, dwFlags, pRange);

==== Visual Basic Script ====

ppRanges = TextDocument.FindAll strText, dwFlags, pRange

==== C++ ====

CComPtr<IRanges> pRanges;
HRESULT hr = TextDocument.FindAll(strText, dwFlags, pRange, &pRanges);

===== See Also ===== ITextDocument