The editor search procedures search for a particular item and move the editing cursor and xview position if a search item is found. Each search command takes a direction and a search string.
Direction can be either ' forward ' or ' reverse '.
Searches for the annotation containing a comment matching the value regular expression. Not specifying value will match all annotations. If value starts with a plus or minus the editing cursor is moved forwards or backwards by that amount. The direction parameter here has no effect and is included purely for consistency. In the current implementation of these two searches only the forward direction is supported.