Some performance and cleanup.
Moving the getEditor() to the top of the loop.

- Minor to no gains in performance of course, but a little more clear.
Cleanup.
Move scroll and click events up.  Only bind once.
Cleanup.

- Removes extra indentation.
Cleanup.
Cleanup.
Performance - Check line visible before the regex.
Performance - Stop search after last visible line.
Removing console.time().
Using map and filter.

- Doesn't short circuit, but is readable and prevents expensive
  operations from running more than necessary.
Using slice to operate on less rows.