Hello everyone on the list,
I am just wondering why the text anti-aliasing in Textmate is so different from XCode: in Textmate, the characters are much bolder than in XCode. For example, I love LuxiMono. It is a great font for displaying code. It renders beautifully in XCode, but is much to thick in Textmate :(
Any way to change that (at least make it customizable)?
Otherwise Textmate is really cool.
Cheers!
=============================================
Jean-Marc Borer
7 av. de Vaudagne
CH-1217 Meyrin
Mob: +41 79 213 9937
Tel: +41 22 782 0866
=============================================
Hi all,
I've been working with too many prototype objects in javascript of
late, and as some of you may know, they are generally declared as
follows:
Sound.prototype.play = function() {
...
}
All I did was took the existing function regex, and moved a couple of
the captures:
{ name = 'meta.function.js';
match = '\b([a-zA-Z_?\.]+\w*)\s+=\s+\b(function)?\s*\((.*?)\)';
captures =
{ 1 = { name = 'entity.name.function.js'; };
2 = { name = 'storage.type.function.js'; };
3 = { name = 'variable.parameter.function.js'; };
};
},
It could probably be nicer, but pasting that in after the original
function code (in the JS language def file) will give you properly
highlighted function declarations :)
Tony Arnold
http://tonyarnold.com/
“The university was great. They gave us money and facilities,
but we didn’t have to produce anything. I’ve worked in the
private sector. You don’t know what it’s like out there. They
expect results.” -- Dr Ray Stanz, Ghostbusters
Trying to get a simple command that displays a webpage with a flash
file in it. `cat /path/to/file.html` gives me a blank screen, as does
`curl http://mydomain.com/path/to/file.html`. However, running curl to
an old url that provides a link to the page does load the movie.
Any idea what's up?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
> "create document" -- why not? :)
Because you cant click on the lines in a new document window to have it take
you to the correct line in the file, very useful for debugging that is.
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I keep hitting the 'Toggle Comment' command with no selection,
expecting it to work on the current line only, but it does the whole
file. I find this behavior counter-intuitive. Does anyone else? And
if so, is it possible to have it changed?
-pete
--
(peter.royal|osi)(a)pobox.com - http://fotap.org/~osi
Hi,
I just noticed a problem when creating a new file from the Project drawer.
I right clicked at the top level and created a file which appears to
be at the top level. However I just realised that it actually created
the file in the last folder I was working in.
See attached images where the file LICENSE appears to be at the
top-level but, svnX finds it under themes/moxie/templates/publish/
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
Hi all.. I've been developing a web-app using TextMate and just
recently decided to go and create a project (up to that time I've
just been browsing for the file(s) to edit directly). Anyway,
I found that once the project was created and I imported my existing
files (>100-200 of them I'd guess) and opened perhaps 4-5 of them
in the same tabbed window that bringing TextMate into the foreground
caused a ~3-5 second delay while it was doing some sort of network
activity.. What I mean by bringing TextMate into the foreground is that
I've got it displayed on the screen, and I bring Safari into the
foreground so I can test an updated page.. I then switch back to TM
to edit something.. If this switch back and forth is <5-8 seconds, then
TM seems to be fine.. Anything longer seems to cause this long delay
before I can type or change tabbed windows,etc.
Interestingly enough, I can have these same 4-5 files open without the
project paradigm and not see these same delays..
I should also tell you that my file server is a Linux box being remotely
mounted via Samba (smb://) and that I've got the metadata disabled in TM.
This is all being done via 802.11b on a 667Mhz Powerbook if that helps..
I don't recall the version of TM I'm using -- it was automatically downloaded
for me about a week or so ago. Any ideas on how to get rid of this delay
would be greatly appreciated..
-- Rick
I just came across this today: It would be handy to limit a "find in
project" search to only those files within selected folders.
Interface-wise, it would be cool if you could simply command-click
the folders or files you want to search through in the project files
pane and then choose "find in project". Perhaps the "Find in
Project" menu item could change to "Find in Files" if more than one
file is explicitly selected?
Duane Johnson
(canadaduane)
It would be really cool if TextMate could automatically pull the
latest bundles from svn in the same fashion as it now pulls builds.
I am always updating my bundles...often every day...and this would
save me some time.
>
> >>>* Are there plans to add support for the symbols popup for php?
> *>>* For me it show PHP function names.
> *>* Could it be because I am using tabs rather then spaces?
> *
> No -- if you place the caret on a function name and press ctrl-shift
> P, does it show entity.name.function as part of the scope?
>
> only when i use spaces
>
> Subject: Re: [TxMt] symbols and php
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <44DC6269-3E8A-41E0-B90F-10232F21E614(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On 15/11/2005, at 23.59, Samuel DeVore wrote:
>
> > Are there plans to add support for the symbols popup for php?
>
> For me it show PHP function names.
>
>
Could it be because I am using tabs rather then spaces?
Is ³Show in Separate Window² really deprecated? It seems so useful, is
something going to replace it? The HTML output option doesn¹t seem to really
come close.
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi list,
I have some files into a Devonthink database. Now, a devonthink
database is just a bundle with .dtbase extension. If you right click
on it and select "show package contents" you can see the internal
files, just like app bundles.
But when I try to open them from inside Devonthink, TextMate just
ignores them. I have to manually drag them on the desktop, open and
edit them and then put them back in the database.
Is there a workaround?
Thanks
Kostas
How would people feel about this diff in the C syntax bundle?
It will work on functions of the form:
int
main () {
but not on
int main()
What would be the appropriate regexp for making it work in both
cases? What I'm trying to do is get the functions to show up in the
Symbols menu.
The other thing that's broken with C is that #defines which are not
functions are incorrectly marked as functions. For instance:
#define FOOBAR 10
adds FOOBAR to the symbols menu. I think that's because the regexp
that handles #defines tries to handle the case where the #define is
really a macro
#define MIN(a,b) ((a)<(b)?(a):(b))
but applies the name even if the syntax doesn't match... I'll take a
look at this later this week if no one has a workaround...
@@ -140,6 +140,20 @@
</array>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+
<string>entity.name.function.c</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>^([a-zA-Z_][a-zA-Z0-9_]*)\s*\(</string>
+ <key>name</key>
+ <string>source.c.function</string>
+ </dict>
+ <dict>
<key>begin</key>
<string>^\s*#\s*(define)\s+([a-zA-Z_][a-zA-
Z0-9_]*)(?:\(
((?:\s*[a-zA-Z_][a-zA-Z0-9_]*\s*,?)*)\)|\b)</string>
<key>captures</key>
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
A few days ago the create new file button in the drawer stopped
working. Whenever I tried to create a new file, TM crashed. Then
whenever I'd go into a terminal to fiddle, I'd get some error (sorry
to so vague) about resource fork not being available.
I would force crash textmate, and killall bash, and all would work
again - but each time I tried to create a file (I sure hope it works
this time...), I had to do it all over again.
Last night I made the same error, textmate crashed, but I never got
to killing the runaway bash process. I woke up and my computer fan
was just screaming, a quick top showed a runaway bash process going
at 75% cpu and fifty others! Here's a snip:
--------------------------------
kjell 26675 74.2 0.1 27880 900 ?? R 1:09AM
430:19.31 /bin/bash -c touch "$TM_NEW_FILE"
kjell 26571 0.4 0.1 27880 980 p3 S 12:57AM 0:00.12
-bash
kjell 26606 0.0 0.1 27880 764 ?? S 1:09AM
0:00.04 /bin/bash -c touch "$TM_NEW_FILE"
kjell 26608 0.0 0.1 27880 508 ?? S 1:09AM
0:00.01 /bin/bash -c touch "$TM_NEW_FILE"
[35 more like the last two...]
--------------------------------
What could be going wrong? I'd love to have it fixed, if possible.
The problem has reared it's ugly head with both beta1.17 and r421,
and is getting to be a real pain. Anyone have an idea what's wrong?
Kjell [http://station11.net]
I just posted an FAQ question with regard to the subject line that
was (almost) instantaneously answered. Thanks to whoever was
responsible for that! :)
I'm trying to figure out how I might get TextMate to run on my new
Mac/Intel box and I've run in to some problems. I documented the
error message I received from build 731 at http://inquirylabs.com.
However, as of build 753, I now receive no error message at all. The
application crashes without a sputter.
Is there anything I can send that would help diagnose or debug this
situation? Thanks,
Duane Johnson
(canadaduane)
Hi,
Type and select the string
"£"
in an html document
Hit cmd-shift-& and choose "Convert to named entity"
expected: british pounds sterling symbol
obtained: ampersand (&)
reference: <http://www.w3.org/TR/WD-entities-961125>
<!ENTITY pound CDATA "£" -- pound sterling sign -->
<!ENTITY amp CDATA "&" -- ampersand, U0026 ISOnum -->
Not really sure anything can be done to help it if we want the
current set of features, but is you type something like this in Ruby:
<<-HTML
<style>
HTML
foo = 21
The 'foo = 21' part and the rest of the document is colored like a
style-sheet. Normally this would be incorrect nesting of course, but
for heredocs in languages, there can be good reasons for this (and
it's in fact used in tmruby).
-- Sune.
Is there any chance of being able to set a preference where the code
collapsing is not based on indentation? To be honest I'm not sure
how other applications have handled collapsing programmatically, but
basing it on indentation seems to be a bit buggy and doesn't work for
every situation.
Thanks,
Colin D. Devroe
Blog: http://theubergeeks.net/
Photos: http://flickr.com/photos/cdevroe/
I guess this is just a bug, but if you drop a (real) folder into a textmate
virtual project folder, you cannot then move it to the top level.
____________________
"Let the people decide through the marketplace mechanisms what they
wish to see and hear. Why is there this national obsession to
tamper with this box of transistors and tubes when we don't do the
same for 'Time' magazine?"
-- Mark Fowler, former FCC Chairman
Allan,
Just in case you hadn¹t spotted this...
It seems as though the v731 update, which greys out commands when there isnt
a document open also greys out items under the New From Template menu
command, which presumably isnt supposed to happen.
Regards
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________