Why is that sometimes I come back to TextMate and do a global Find and discover that TextMate is mysteriously searching the Desktop instead of the project folder?
m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 9! http://shop.oreilly.com/product/0636920044352.do iOS 9 Fundamentals! http://shop.oreilly.com/product/0636920044345.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Why is that sometimes I come back to TextMate and do a global Find and discover that TextMate is mysteriously searching the Desktop instead of the project folder?
Happens to me when I accidentally switch to a TM window that has a file that is not a part of the project before I open the Find in Project window.
On Jul 13, 2016, at 12:01 PM, Igor Kozlov me@igorkozlov.me wrote:
Why is that sometimes I come back to TextMate and do a global Find and discover that TextMate is mysteriously searching the Desktop instead of the project folder?
Happens to me when I accidentally switch to a TM window that has a file that is not a part of the project before I open the Find in Project window.
I'm _pretty_ sure that no extra windows were open. I worked in the project, worked in another application, came back to TM, did a Find, and got weird results. I'll try to track this better, though...
The real problem is that the Find window _says_ it's looking in the project, but it isn't. I think. m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 9! http://shop.oreilly.com/product/0636920044352.do iOS 9 Fundamentals! http://shop.oreilly.com/product/0636920044345.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
I'm _pretty_ sure that no extra windows were open. I worked in the project, worked in another application, came back to TM, did a Find, and got weird results. I'll try to track this better, though...
Happens to me if I'm looking at the html output window (at a git diff for example). But it does show the home folder in the search dialog in those instances.
Yes, that's a good one. I can reliably reproduce this way:
* I'm using some other app.
* To get back to TM, I click on the html output window.
* I say Command-Shift-F and do my global search.
Thus I end up searching on the desktop.
Allan, can we call this a bug or at least undesirable? The html output window was produced from some project so maybe it can be associated with that project...?
m.
On Jul 14, 2016, at 1:17 AM, George McGinley Smith george@gsgd.co.uk wrote:
I'm _pretty_ sure that no extra windows were open. I worked in the project, worked in another application, came back to TM, did a Find, and got weird results. I'll try to track this better, though...
Happens to me if I'm looking at the html output window (at a git diff for example). But it does show the home folder in the search dialog in those instances.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 9! http://shop.oreilly.com/product/0636920044352.do iOS 9 Fundamentals! http://shop.oreilly.com/product/0636920044345.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
On 15 Jul 2016, at 19:27, Matt Neuburg wrote:
Allan, can we call this a bug or at least undesirable? The html output window was produced from some project so maybe it can be associated with that project...?
Ideally the HTML window would be a “panel” so that the document remains “main window” and will get the keys not handled by the HTML window (like ⇧⌘F, but also bundle commands like re-running a build on ⌘B or a script on ⌘R).
Unfortunately making the HTML window a panel has a few disadvantages, for example one can no longer search the content of the HTML window (with ⌘F) and with a HTML window frontmost, opening new window and closing it again, will not bring focus back to the HTML window.
That said, this is on the list of issues I would very much like to solve, the specific case with project folder could probably be solved easier than the general case, as we can make a direct link between the two windows, as I also want to link the file browser so that we can have an option for searching what is currently selected there, so I will look at it when I reach that item.
Cool, thanks.
I had the impression that I was sometimes falling into this in some other way more difficult to get out of, but I'm not sure; I'll try to keep better track of this.
I see the problem as belonging to the Global Find window, not the HTML window. A panel HTML window could be problematic, because (1) now you have to dismiss it to get any work done, but (2) if you do that, how will you consult what it said? I _need_ both the project and the HTML window to be available.
Perhaps I am to blame for having Show Command Output set at New Window?
m.
On Jul 16, 2016, at 1:10 PM, Allan Odgaard mailinglist@textmate.org wrote:
On 15 Jul 2016, at 19:27, Matt Neuburg wrote:
Allan, can we call this a bug or at least undesirable? The html output window was produced from some project so maybe it can be associated with that project...?
Ideally the HTML window would be a “panel” so that the document remains “main window” and will get the keys not handled by the HTML window (like ⇧⌘F, but also bundle commands like re-running a build on ⌘B or a script on ⌘R).
Unfortunately making the HTML window a panel has a few disadvantages, for example one can no longer search the content of the HTML window (with ⌘F) and with a HTML window frontmost, opening new window and closing it again, will not bring focus back to the HTML window.
That said, this is on the list of issues I would very much like to solve, the specific case with project folder could probably be solved easier than the general case, as we can make a direct link between the two windows, as I also want to link the file browser so that we can have an option for searching what is currently selected there, so I will look at it when I reach that item.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 9! http://shop.oreilly.com/product/0636920044352.do iOS 9 Fundamentals! http://shop.oreilly.com/product/0636920044345.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html