[TxMt] Switching between bundle editor and document windows
simon at helvector.org
Thu Jul 19 23:11:42 UTC 2007
Ahh. I see. In effect you're talking about a lack of directly
affecting a save (apple-s) from within the bundle editors item edit
window. Or the rather abstract way to go about effecting the save.
I've been working with TM for that long I don't really notice
anymore, I always close the bundle editor after a change to make sure
that the item I've edited is saved..... so what really is going on in
those screen casts? Anyone?
On 19 Jul 2007, at 23:54, Mark Day wrote:
> I've got that installed, but I don't see how that applies. I'm not
> having a problem editing the snippet itself. (Using Edit in
> TextMate seems like overkill, and just adds steps when editing
> small snippets or commands.) The problem is switching to a
> document to *use* (test) the snippet, and the changes I've made to
> the snippet don't take effect unless I click outside of the text
> field, or press Control-Tab to move focus to a different text
> field, etc.
> On Jul 19, 2007, at 3:35 PM, Simon Gregory wrote:
>> Take a look at the TextMate bundle > Install “Edit in TextMate…”
>> command. When you run it you'll be presented with a html dialog,
>> the intro section explains all.
>> On 19 Jul 2007, at 22:21, Mark Day wrote:
>>> As I've watched some of Allan's screencasts, I noticed he often
>>> switches between the bundle editor and a document window in order
>>> to try out changes to snippets, commands, etc. It looks like
>>> he's using the keyboard to switch back and forth. I know I can
>>> switch between windows using Command-` , but any changes I've
>>> made in the bundle editor's text field don't seem to take effect
>>> when I switch windows.
>>> For example, I start editing a snippet. I add or remove some
>>> text in the snippet. Then press Command-` to switch to my
>>> document window. I trigger the snippet (using tab triggers in my
>>> recent experiments), but I get the old contents of the snippet,
>>> without the changes I just typed.
>>> If I click elsewhere in the bundle editor (in the list on the
>>> left, in the scope selector text field, etc.) before switching
>>> windows, then the changes I've made to the snippet take effect
>>> when I switch to my document window.
>>> I've been skimming some of the archives of this list, and I've
>>> seen it mentioned that switching windows is supposed to commit
>>> changes to the text field in the bundle editor. Which means just
>>> pressing Command-` to switch windows should be enough. Am I
>>> doing something wrong?
>>> I'm running TextMate build 1405 on Mac OS X 10.4.10 on both Intel
>>> and PowerPC machines.
>>> For new threads USE THIS: textmate at lists.macromates.com
>>> (threading gets destroyed and the universe will collapse if you
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
More information about the textmate