mirror of
https://github.com/textmate/textmate.git
synced 2026-01-23 21:57:54 -05:00
We first search for a window containing one of the documents we wish to open, then for the window with a best match for project folder (for any of our documents), then check if frontmost window is a scratch window, and if none of the above gives a candidate, we create a new window (and give it a project folder based on the document(s) we opened).