Bug fix: now dropping images on standalone editor works too.
Begin and end editing around each call.
Ensure the new name is not nil before going ahead.
Bug fix: handle the edge case of hitting the end of the string.
remove debug output
Set the textStorage of the layout manager when switching documents to trigger a reset of the find bar (NSTextFinder).
Added 'add file' menu item to project tree context menu.
updated notes
A new utility for checking if the current index is within a math mode environment. Also some tests for that.
By default, markup highlighting is off.
don't highlight markup if we are in math mode.
make our own text finder so that we can control what's going on.
tell text finder that the document is changing whenever necessary.