Sorry, nit-picking for variable names. I don't think we should name them by putting two verbs together. It will be better if we call them openTag and closeTag instead of openFind and closeFind. I know you already used openTag and endTag (on line 785 and 786), but calling these two openMark and closeMark sounds better to me since they are text marks created from open/close tags.