Hello,
I was trying to give all (round) parentheses a certain color while editing
in C++.
Can someone help me to achieve this? Sorry if that has been asked before.
As a second question, would it be possible to give parentheses of function
calls a different color, or ideally color all the text within the brackets?
Thanks!
Tim
--
View this message in context: http://old.nabble.com/Coloring-parentheses-in-C%2B%2B-code-tp27998726p27998…
Sent from the textmate users mailing list archive at Nabble.com.
Hi
"Go to symbol" doesn't work in JavaScript for me. But it should,
right? Any ideas where to look at? I am not to familiar with
BundleEditor yet.
Matthias
Hi
Textmate version 1.5.9 (1589) on MacOSX 10.6.3
The clipboard history does not appear to be working correctly
ctr+opt+cmd+V is supposed to pop up a window that allows you to arrow through your history
In my case it just recalls the last entry in the clipboard, as I repeatedly press ctr+opt+cmd+V, it adds the previous entry. For example if I put into my clipboard history apple banana pear
pressing ctl+opt+cmd+V three times produces
pear banana apple
But no drop down menu to allow me to arrow through
Any ideas why?
Steve
Every time TextMate tries to update automatically on my Snow Leopard 10.6.2
MacBook Pro I get:
*3/11/10 7:58:46 AM TextMate [1749] Error checking for new version:
Failed to connect to 208.78.96.139: No route to host*
in my error console.
What is the problem with the auto update?
Greetings,
This is slightly off topic but I'm hoping some of the TextMate-Cocoa
people here could help me.
I'm learning Cocoa programming and I'm not interested in using Xcode
for my development. I prefer using Clang, Rake, Textmate, and
Interface Builder. I know Allan and company development Textmate using
Cmake instead of Xcode. I'm wondering how to run unit tests this way.
Every OCUnit app tutorial I see assumes you are using Xcode. Anyone
know how to set up unit tests manually via the command line? Once I
see how it is done I can set up a Rake target/tasks to handle it for
me.
Any other advice when developing Cocoa apps without Xcode?
Thanks in advance,
Jason C
Hi,
If have a tiny problem since I'm using NSLocalizedString a lot in a project. We had a similar discussion at irc a couple of months ago and maybe I came across with a solution.
E.g. you have the following Objective-C++ file:
@implementation AClass
- (void)foo:(NSDictionary *)w
{
MyFun(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK"),
nil, nil, tableWindow, self, nil, nil, nil,
NSLocalizedString(@"bla", @"bla"));
NSBeep();
}
- (void)foo2:(NSDictionary *)w
{
}
you'll see in the Symbol List:
AClass
- foo:
NSLocalizedString
NSBeep
- foo2:
which could be sometimes useful but the NS... stuff disturb generally. Then I looked at the Objective-C++ Language definitions and I found:
...
patterns = (
{ include = 'source.c++'; },
{ include = 'source.objc'; },
);
...
This means that 'source.c++' will be processed before 'source.objc'. By my opinion this is the wrong order. Because if I change this into:
...
patterns = (
{ include = 'source.objc'; },
{ include = 'source.c++'; },
);
...
I get for the above example the correct Symbol List:
AClass
- foo:
- foo2:
Are there any reasons for that language grammar order?
Regards,
--Hans
I'm new to TextMate, trying it out as a desktop blogging editor using the
blogging bundle. I like its speed, compared to the online editor of my
wordpress.com blog. If the trial version works out I'll buy it properly.
But there's a small problem. I've been trying to upload images, and find
that when I drag an image to the editing window, it only gives me a link to
the local location of the file and does not upload it automatically. This is
a problem I've seen mentioned elsewhere on the Textmate blog but haven't
found an answer to. What is happening, though, is that once I post my
writing to my blog and then fetch it back for editing, only after doing that
is it possible for me to drag-and-upload an image in the way that is
indicated by the screencast and help file.
Is this normal behaviour? Should I be able to upload an image straightaway
into the post before posting it? If so, how can I fix the problem I'm
having? I'm on OS 10.5.8, using version 1.5.9 of Textmate. Thank you for any
ideas or suggestions.
Mike
I don't have a bundle for Makefiles in my version of Textmate (1.5.8).
Makefiles are treated as plain text files.
I haven't found one listed via the GetBundles bundle. (I installed CMake,
but that doesn't appear to be it.) I've also looked through the
bundle list<http://svn.textmate.org/trunk/Bundles/>and don't see one.
Where is the Makefile bundle.
Thanks.
Hi, Allan-
Following up from IRC...
My text editor of choice on Windows was TextPad, and it supported a
handy way to insert sequential numbers for "replace all" operations.
This was useful, for example, when inserting line numbers, creating
unique ids, etc.
I don't know if the syntax was unique to TextPad, or if it is part of
some standard regex syntax, but it was pretty simple and effective:
\i(<start_index>,<increment>)
\i Replace with numbers starting from 1, incrementing by 1.
\i(10) Replace with numbers starting from 10, incrementing by 1.
\i(0,10) Replace with numbers starting from 0, incrementing by 10.
\i(100,-10) Replace with numbers starting from 100, decrementing by -10.
Any chance this (or something similar) could be added to TextMate?
Thanks-
-Doug