When opening a folder in TextMate, sometimes the "file browser" thingy opens on the right and sometimes it opens on the left.
Does anyone know how to make it always open on the left?
Thanks, Simon
That's an Apple window manager issue; with drawers like the file browser, it attempts to remember which side you had it on last, but if that side of the window is too close to the edge of the screen when reopened, it will automatically move the drawer to the side which has more room.
I obviously can't speak for the developer, but I do not believe this is something that can be "fixed", and even if the above behavior was implemented in a buggy fashion I doubt anyone but Apple could fix it =)
Regards, Jeff
On Jan 13, 2006, at 5:08 PM, Simon Dorfman wrote:
When opening a folder in TextMate, sometimes the "file browser" thingy opens on the right and sometimes it opens on the left.
Does anyone know how to make it always open on the left?
Thanks, Simon
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Jeffrey E. Forcier Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]212-981-6540 [direct]212-981-6546 http://www.strozllc.com
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No right to confidential or privileged treatment of this message is waived or lost by any error in transmission. If you have received this message in error, please immediately notify the sender by e-mail or by telephone at 212.981.6540, delete the message and all copies from your system and destroy any hard copies. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient.
This is a feature actually. It can made to open on one particular side or choose for itself wrt available space (by the programmer).
The textmate manual has a section 2.1.4 Positioning the Project Drawer, btw.
Soryu
On 13.01.2006, at 23:16, Jeffrey E. Forcier wrote:
That's an Apple window manager issue; with drawers like the file browser, it attempts to remember which side you had it on last, but if that side of the window is too close to the edge of the screen when reopened, it will automatically move the drawer to the side which has more room.
On 1/13/06 4:23 PM, "Soryu" Soryu@serenity.de wrote:
The textmate manual has a section 2.1.4 Positioning the Project Drawer, btw.
Thanks! Silly me, I forgot to look there...
http://macromates.com/textmate/manual/working_with_multiple_files#positionin g_the_project_drawer
I've updated my "open in TextMate" applescript so it resizes the window to full screen after opening. If it opens a folder, it now leaves room for the Project Drawer on the left and hit's control-option-command-d twice to make sure it opens on the left side. Like this:
tell application "System Events" keystroke "d" using {control down, option down, command down} keystroke "d" using {control down, option down, command down} end tell
Attached is the updated script for those interested.
I obviously can't speak for the developer, but I do not believe this is something that can be "fixed", and even if the above behavior was implemented in a buggy fashion I doubt anyone but Apple could fix it =)
yep, it's definitely possible: just use [theDrawer openOnEdge:NSMinXEdge] and [theDrawer openOnEdge:NSMaxXEdge] to open it on the left vs. on the right instead of calling the vanilla [theDrawer open].
(quick fix) if you want the drawer to appear at the left side of the window just push the window itself to the opposite side before opening the drawer -- or hide it then show it again.
ciao,
Domenico
Hello Simon
On 13.01.06, you wrote:
When opening a folder in TextMate, sometimes the "file browser" thingy opens on the right and sometimes it opens on the left.
Does anyone know how to make it always open on the left?
It depends on textmate window position and how much space is on left or right side of it.
regards,