textmate/textmate — pull request #614 by joachimm (2012-12-04 18:39:42+00:00)
Title: Don't refresh complete tree unless necessary

Currently changing the open status (adding the close x) makes the complete file browser tree redraw.
By making some calculations, it can be deduced which files were touched (added/removed) since last time, and only update those.

This code does that. But reverts back to old behavior when not all changed files are visible. One situation which can cause this is to 'mate ' followed by save, where is located in a folder that is expanded in the file browser. 'rm ' may also cause the old behavior. Nothing prevents anyone from handling these cases as well of course.