Hi,
This is my first post.
When using TM the auto bracket closing feature is great but I wonder if it's
possible to change it's behaviour slightly.
What I get currently:
function {
}
What I would like:
function
{
}
I appreciate that hitting return after typing 'function' would achieve me
this but is there a way of TM taking care of this?
--
View this message in context: http://old.nabble.com/Backet-autocomplete-tp32730304p32730304.html
Sent from the textmate users mailing list archive at Nabble.com.
> The second one was, in the same problem, I wanted to combine all the lines
> in a file into one long line - I couldn't find a "remove line endings"
> command. How would I do this?
You can also press alt+enter to insert a literal newline (or tab with
alt+tab) into the find box and do replace all.
Hi,
Been using TextMate for a while, but I came across two simple things that I
couldn't figure out how to do. FIrst, I had a text file that I had to find a
specific character position in the file.. ie. character 2456. There's no
way, that I can see, to go to that specific character position. The status
bar at the bottom shows lines / character, but not absolute character
position.
The second one was, in the same problem, I wanted to combine all the lines
in a file into one long line - I couldn't find a "remove line endings"
command. How would I do this?
Thanks!
John.
Hello,
HELP! I have recently had to re-enter my registration key in another
version of Textmate on my MAC laptop.
But now when I edit (in LaTeX but this problem is independent of the
bundle), instead of Textmate automatically highlighting a single,
entire line (under preferences), Textmate only underlines the current
line according to the chosen highlight color. The cursor marker is
also visible, as a blinking underscore. How can I reset to the my
earlier setting where the actual line is completely highlighted? I
have tried all color and theme combinations.
Thanks a lot,
Matthew
Hi there,
If some variable starts with "C", the whole line which contains that
variable and where it at the very first place highlighted as comment. I
suppose it comes from old F77 style, where C denotes comment, but it's
not necessary now. Is there any way to fix it? My current way-around is
to put single space before that variable, but in this case overall code
doesn't look as nice as before.
Thanks.
--
Kaster Might
Hi
I'm doing some Objective-C exercises in TextMate. Up until now, I've
put everything (interface, implementation and main) into one file and
hit cmd-R (presumably activating the C bundle's Run command) to see
the output. Now I want to use separate files, with the #import
command. Unfortunately, when I try this, I get an error about how my
class can't be found. Here's the code :
#import "Rectangle.h"
int main (int argc, char *argv[]) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
Rectangle *rectangle = [[Rectangle alloc] init];
[pool drain];
return 0;
}
And the error it gives:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_Rectangle", referenced from:
objc-class-ref in ccccStDD.o
ld: symbol(s) not found for architecture x86_64
I understand that I can do this in Xcode, or using the terminal, but
since I'm making quick changes, I want to see the results quickly.
Making a change and hitting cmd-R let me do this easily.
I looked at the Xcode bundle, which also has a "Run" command, but it
seems to require an Xcode project to work.
Is there a way to get my files to link automatically before running? Thanks.
Nevan
Dear all,
thanks to some threads in the mailing list, i got a project drawer
showing me the file status of my git stuff.
But I seem to recall that it was also possible to get git actions
reachable via right-click somehow? I could not make that work so far.
Any hints?
Best regards,
Michael
>
> #!/usr/bin/env ruby -wKU
> require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"
> ?
> TextMate.exit_show_tool_tip("Hello world")
That is exactly what I was looking for. Thank you so much.
Brandon
On Sun, Oct 16, 2011 at 5:00 AM, <textmate-request(a)lists.macromates.com>wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: Click to Highlight Opening and closing tags (Allan Odgaard)
> 2. Help with Ruby command (Brandon M Fryslie)
> 3. Re: Textmate not previewing in Firefox 7 (Michael Sheets)
> 4. Re: Help with Ruby command (Allan Odgaard)
> 5. Re: boost library (Andre de Boer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 16 Oct 2011 09:46:09 +0200
> From: Allan Odgaard <mailinglist(a)textmate.org>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Click to Highlight Opening and closing tags
> Message-ID: <FA1FB4FC-A7EE-40E3-AEC6-8CC2C44F55D3(a)textmate.org>
> Content-Type: text/plain; charset=windows-1252
>
> On 30 Sep 2011, at 02:50, Basil Babaa wrote:
>
> > The following ticket was opened [?] Is there any news of status
>
> There are a lot of open tickets given that TextMate 1.x hasn?t seen new
> features in years.
>
> There has recently been news that there will be an alpha of 2.0 before
> Christmas which should close some tickets, but I?m not going into specifics.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 16 Oct 2011 01:39:55 -0700
> From: Brandon M Fryslie <bmf(a)email.arizona.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Help with Ruby command
> Message-ID:
> <CAPjYj-COm=Rw=N=spwU8Zh56oiLW5kNUV++WUN4xdx3qOAxTMw(a)mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi, I would like my Ruby command to replace the selected text, or show a
> tooltip in some situations. I see there is a command for doing this with
> bash: exit_show_tool_tip. However this:
>
> puts `exit_show_tool_tip "Error message"`
>
> isn't working for me. Is there some way to do this from inside a Ruby
> command?
>
> Thanks
> Brandon
>
Hi,
I am using the wonderful Rdaemon-bundle in TextMate.
But now I stumbled over a big problem parsing code to the Rdaemon
(by selecting the code and pressing CMD+T or selecting "execute selection").
It is a rather long script and some of the lines at the end of the script do not get parsed correctly.
They kind of get completely screwed up leading to error messages.
For example, this line in the original code:
for(i in 1:length(x)) { prt_reduced[,x[i]] <- reorder(prt_reduced[,x[i]], c(2,1)) }
looks like this after pressing CMD+T:
> for(i in 1:length(x)) { prfor(i in 1:length(x)) { prfor(i in 1:length(x)) { prfor(i in 1:egory
Error: unexpected 'in' in "for(i in 1:length(x)) { prfor(i in"
It seems to have something to do with the length of the script.
When I just execute this line, or chunks of code step by step, it works fine.
But if I try to run the whole script (with CMD+A, CMD+T) strange things happens at the end of the script (like this screwed up line above).
If I try to make the code smaller (delete lines etc.), it seems like different lines get affected by this strange behavior
(at it always happens at the end of the script).
So it seems to have nothing to do with particular lines of codes, but as I said, the length of the script.
As if at some point the parsing of code to the Rdaemon doesn't work anymore (perhaps something like buffer-overflow?).
hope someone can help!
thanks.