Bind the document and its view
Handle literal vs regular expression search
FIX Starting search location from end of selection (so that click on 'Search' again will find the next occurrence)
ENH Search from beginning if cursor is not on the view