Better handling of \label commands - now support \label[option]{label}
Proper changing of text
don't show popup completion list if we have only one option and the user has already typed all the characters.
Only add bibliography entries if they aren't already there, that is if their -string doesn't match any other.
Restore the gotoSection action that got dropped when moving the TPSectionListController out of the nib. Now we get the action in the nibs owner and pass it on to the section list controller.
Better logic in handling file name extension
Belt and braces to ensure the path we move to has the correct file extension. Shouldn't really be necessary since the entities name should have the extension, but just in case...
Removed dead code.
remove dead code.
Use the shared console to show error messages because the builder is deallocated when we're done using it, so there's no owner for the builder report window controller
Show an error if we weren't able to add the file. Also be more careful with setting attributes - use the string length.
Reorder this logic so that we only try to load text for text based files.
Set the extension and don't remove it from the name
Better logic for checking for existing folders. Check the path relative to the project.
Make sure to set the project to the new folder.
Update
Changed window title to Console.
This is unnecessary and doesn't fix the crashes it was aiming to fix.
Don't (need to) close tabs. It doesn't stop the crashing and is anyway slow.
We must remove the controlsTabBarController from the responder chain since we inserted it. This seems to be the cause of the crashes when closing documents due to the window messaging a zombie object.