I'm sure somebody here knows the answer to this, although it's not
specifically related to TextMate.
I'm adding a key equivalent to TextMate's Window -> Zoom menu item with
the following:
defaults write com.macromates.textmate NSUserKeyEquivalents -dict-add
'Zoom' '@~/';
The result? It works...but it zooms ALL open windows simultaneously. If
you select Window -> Zoom with the mouse (or click the "+" window
widget) only the TOP window zooms.
Huh!?
I know this is not a TextMate specific "problem" because the same
behavior exists with Terminal.
Q
As noted in the release notes for r1060, there is indeed a problem
with dual-headed setups. If the editor window is on the secondary
monitor, the menu is displayed on the primary monitor (in the correct
screen location, just on the wrong screen). On the plus side, if the
editor is on the main monitor the menu works properly... This is on a
MacBook running 10.4.6.
Console.log output:
2006-06-05 11:39:31.625 TextMate[3581] Quartz {1733, 123} (frame
{{1280, 0}, {1280, 768}}), QD origin {1280, 768}, QD top/left 645, 453
scott.
Hi all (Brad especially, I guess) -
Now that Textpattern has new xml-rpc support (http://textpattern.com/
download-rpc), I thought I'd give it a try with the blogging bundle.
When I specify my XMLRPC URL (mydomain.com/rpc/) and run the "fetch
post" command, I get the following error after entering my password:
/usr/lib/ruby/1.8/xmlrpc/client.rb:543:in `do_rpc': Wrong
content-type (RuntimeError)
from /usr/lib/ruby/1.8/xmlrpc/client.rb:409:in `call2'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/metaweblog.rb:28:in `getRecentPosts'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:498:in `fetch'
from /tmp/temp_textmate.7ihCLB:3
Any ideas? Have I perhaps failed to configure something properly? It
(the xmlrpc support) does seem to work with MarsEdit.
-Alan
Anybody yet to make a Diff bundle command that compares the top two
windows? It's a drag to make a new project and drop two files in,
especially since often my windows are unsaved documents.
I tried but failed ... my AppleScript know-how dunno how. I couldn't
figure out how to get the contents of the top two windows. Can anybody
do that?
Tnx, Q
the new begin and end patterns allow me to highlight the background
(I do it in my Blackboard color theme)
the new patterns are... well, you know what they do. the link pattern
is pretty raw, feel free to improve it.
merge and commit, I'm away from my main puter so here I've got a
silly read-only working copy.
{ name = 'comment.documentation.java';
begin = '(^\s*)?/\*\*';
end = '\*/(\s*\n)?';
patterns = (
{ match = '\*\s*(@(param|throws))\s*([a-z]\w+)\s*';
captures =
{ 1 = { name =
'keyword.other.documentation.params.java'; };
3 = { name =
'keyword.other.documentation.value.java'; };
};
},
{ name = 'keyword.other.documentation.link.java';
match = '{@link\s+\S*\s+(\S*)}';
},
{ match = '\*\s*(@[a-zA-Z0-9_-]+)\s*';
captures = { 1 = { name = 'keyword.embedded-
docs.params.java'; }; };
},
);
},
Currently, you can successfully use TextMate to build an Xcode target
into a user defined build directory (via user.pbxuser), but you cannot
run the resulting executable.
I'd like to propose the following change to the Xcode bundle: if a
SYMROOT is defined in userBuildSettings use that as the directory
instead.
Thanks,
Kimon
PS I know not Ruby, please modify as needed
Hey all, I just noticed an omission in the Ruby grammar. I checked the
Ruby grammar's comments to see if there was any mention of this, but I
didn't see anything; perhaps I just missed it. In any case:
def show#{suffix}
@#{singular_name} = #{class_name}.find(params[:id])
render#{suffix}_scaffold
end
(This example is from the Rails source, in action_controller's
scaffolding support.)
All of those #'s become comments; not one of them actually is.
I'm bringing this up partly for posterity (I'm anal-retentive and
would deeply love the Ruby grammar to be perfect (: ) but mostly
because I'd like to use this syntax mechanism without TextMate making
it look like it's not actually code... (:
I'm gonna take a look at it, but if anybody else has a quick fix
before I commit anything, they're welcome to it.
Rob