[SVN] Re: r11788 (Support/lib)

Simon Gregory simon at helvector.org
Thu Nov 26 14:30:38 UTC 2009


>Let TextMate.each_text_file prefer selected files/folders over project folder.
>
>This means e.g. the Show TODO list will work like most other commands, that is, show TODOs for selected files in project, if any. If not, show for entire project, if one exists. If not, show for current file.

For one reason or another I've only just got this change with the release of 1.5.9 (1589) and as I've used it a lot in the ActionScript 3 and Flex bundles it's broken most of the handiest and often used autocompletion commands. As it first appeared to be random when it failed it did take me while to work out it was down to having files selected.

So does anyone have any objections if I re-introduce the old behaviour via a TextMate.each_text_file_in_project or all_text_files method? 

Better still would be a method which read the files and directories in the project drawer and used each as a root to scan from (rather than starting from the closest to root) but I'm not sure how achievable this would be without parsing a *saved* tmproject file. Anyone have any suggestions?

Cheers,
Simon





More information about the textmate-dev mailing list