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’ve been neglecting the mailing list for a few months, sorry about
that.
I have lots of unread stuff which I’ll try to catch up on during the
next few days, so just a sorry in advance for late replies.
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
Hello,
I started to use Textmate as editor for pages in textile and markdown
format. I run into an issue with a page that includes Java source as
part of an article.
If the article contains a preformatted region <pre>...</pre> and inside
this region there is Java code containing a question mark as part of a
generic function, then the rest of the article is marked in red color.
If I use markdown format instead of textile, then I can solve this with
two blank lines. This is not possible with textile format. Both pages
render correctly in the preview.
I have attached two sample files for this.
<pre>
public <? extends Bar> foo(){
//
}
</pre>
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de
# Hello
## Sub title
Some text in here
<pre>
public <? extends Bar> foo(){
//
}
</pre>
## Another paragraph
h1. Hello
h2. Sub title
Some text in here
<pre>
public <? extends Bar> foo(){
//
}
</pre>
h1. Another paragraph
Hi,
I tried to switch from LaTeX-Bundle to the LaTeX2-Bundle but the document is not compiling. My document consists of a master file with included part files. The part files then using input for the chapter files.
After a run on the master file everything I get is the following:
-----
ypesetting latexfahrplan.tex…
hpdftex.def: Shell escape feature is not enabled.
amstext.sty: Unexpected value for option `prepend'
nameref.sty: W0030
minitoc: W0023
minitoc: W0028
minitoc: W0023
minitoc: Usage of deprecated \float@listhead!
part1introlatex.tex:14: \part{Einführung in \LaTeX{}}
copy output
Program exited with code #1 after 1.55 seconds.
-----
and nothing happens more.
Do I miss some basic changes needed in the setup before switching?
--
Christian
-Click. Boom. Amazing!-
Steve Jobs, 2006
--
Christian
-Click. Boom. Amazing!-
Steve Jobs, 2006
Hi,
I've just - mistakenly- deleted the blackboard theme.
I tried re-installing the Textmate but no help.
How do I recover the theme?
Best,
Ozgur Akgun
I've been using textmate from Tiger to Leopard and Snow Leopard, and I like
textmate so much that I can't live without it. I use textmate for writing
C/C++ and Java codes, as well as LaTeX.
But since snow leopard I've been encountering more and more problems than
before. And later I heard it's because snow leopard use Ruby 1.8.7 as
default while most textmate bundles use Ruby 1.8.2. When I use textmate on
my snow leopard Macbook Pro, a lot of bundles and scripts that used to
function pretty well now don't work. Here I have the question, can I solve
those compatibility issues by just getting the latest bundles from the svn
sites? Or that textmate 1.5.* is just not suited for Snow Leopard, the app
itself needs update to get full compatibility on Snow Leopard? If so, maybe
I'll wait for textmate 2 before I write all my projects in textmate.
Forgive my bad English, I'm a Chinese guy.
Thanks for your tips.
> Hi
>
> How do I open html-files from textmate into Firefox, instead of Safari,
> that seems to be default+
>
> tromslo
>
> ------------------------------
>
>
Open firefox, close safari, use the Html macro "Open in Running Browser" or
"Refresh currently open browsers".
I want to know whether someone other than me would like to have a version of TextMate for the iPad? Let me explain: I use TextMate primarily for TeX and some trivial modifications of websites. I could get by with a simple text editor and since the iPad allows one to use an external keyboard, I could type comfortably for hours on it.
Since (as far as I understand) TextMate is very modular and the interface very minimal, one should be able to whip up a nice, clean interface for the iPhone OS?
What do you guys think: have I been caught in Steve's reality distortion field or is there a market for an editor on the iPad?
Max
Hi, I have a command (html output) that will be run frequently to give a
status update. Based on it's output, the user will make a change to their
code and run it again. But it gets tedious having to click back onto the
window every time they run the command.
Is there a way to have my command automatically switch back to the window
they've been writing their text in, after displaying the output, so that the
output updates, but user focus appears to remain in the editor window?
I hunted through some Applescript for the last hour, but haven't seen
anything I could figure out how to use.
I tried recording the command with automator, it gave me
-- Press ⌘`
delay 0.232022
set timeoutSeconds to 2.000000
set uiScript to "keystroke \"`\" using command down"
my doWithTimeout( uiScript, timeoutSeconds )
on doWithTimeout(uiScript, timeoutSeconds)
set endDate to (current date) + timeoutSeconds
repeat
try
run script "tell application \"System Events\"
" & uiScript & "
end tell"
exit repeat
on error errorMessage
if ((current date) > endDate) then
error "Can not " & uiScript
end if
end try
end repeat
end doWithTimeout
Then I tried placing that in a system call to osascript at the end of my
command, but it didn't seem to do anything.
Hi all,
I was contemplating the fact that Latex 2 requires a separate templates directory, rather than having a stock set within the bundle itself. On the one hand, I appreciate the ability to add my own templates in this directory, but the ruby directives aren't applied upon import, a nice feature of the original Latex bundle's internal templates, and this means extra typing. Am I doing something clueless once again?
I also find the template window itself that opens under Latex 2 to be a bit of a tease: it doesn't work quite as advertised in the Help file. When I hit return I get to edit the template name, but I can't seem to find a keyboard sequence out of this mode (no 'reasonable' emacs/readline sequence works, other than tabbing me into the template preview window, where I can edit the template) and I have to use the mouse to insert the selected template. [I'm running Snow Leopard on my powerbook, Leopard on my iMac]. I like my mouse, but not that much. :)
What would be nice is to have a stock set of templates in the bundle, and then such a window that allows one to create a new template by using or even modifying [but not replacing] one of the ones already stored in the template inventory list; of course, the user-defined/modified templates would have to be set aside as is currently required. But hey this is Textmate, there must be a macro/script that can be developed for doing this (not that anyone needs more work!)? And wouldn't it be nice that the template editor have all the power of textmate and the latex2 bundle at the ready, to ease the template modification?
Now, Latex 2 does indeed have some major improvements over the first bundle. But the templates feature seems a step backward in my opinion (or aging is getting to my brain?). Thanks for listening.
Best wishes
David
--
David F. Snyder, Ph.D.
Department of Mathematics
Texas State University at San Marcos
The Latex 2 Bundle is indeed much better, thank you!
The only oddity here is as soon as I set any flag via TM_LATEX_FLAGS, the document no longer compiles and I receive a prompt asking me to enter a filename (TeX cannot find my .tex file to compile). As soon as I unset TM_LATEX_FLAGS everything works again. Odd.
Still, this is a great solution — many thanks.
Cheers,
Tom Shafer
Dept. of Physics & Astronomy
The University of North Carolina at Chapel Hill
I'm trying out Alex Ross's alternative latex bundle, but am having
trouble getting it to typeset my documents. I go the latex+dvips
route. Would that be the problem?
Thanks,
Kyle
Greetings,
I have used TextMate for some time for programming and other text-editing things and I love the program. I would like to use it for LaTeX documents as well; it's superior customization is a significant help in speeding up technical writing. However, the speed of compilation in TM is incredibly slower than in TeXShop, the program I am forced to use now. It is a significant enough difference that it is incredibly frustrating to use TM for LaTeX. Both programs are using pdflatex engine, I am not running the Latexmk.pl script, and I'm running straightforward scripts (mostly for short papers and class assignments) so there should be no speed difference?
I wonder if anyone else had this issue and if there is some kind of fix. I am running on a 6-month-old MacBook Pro so speed should not be an issue --- I had read someone re-wrote the compile script to be faster, but have not found any link to such a script. I have put a screencast at http://files.tomshafer.name/misc/textmatelatex/ demonstrating the differences both in initial compile time (not an issue) and subsequent file time (very important to me — I compile every minute or so to preview changes).
Any thoughts would be much appreciated! I very much enjoy TextMate and to be able to write LaTeX would be a magnificent upgrade for me.
Cheers,
Tom Shafer
Dept. of Physics & Astronomy
The University of North Carolina at Chapel Hill
I moved my latex bundle out of the appropriate directory, and then
back in, and now I can't get command R to run latex and give me a pdf
in skim, as it once did. I get the error message below.
Can anyone give me a pointer?
thanks,
Kyle
sh: --help: command not found
/bin/sh: -interaction=nonstopmode: command not found
A fatal error occured, log file is in Differences.log
Document '/Users/kbj/Papers/*Differences/Differences.pdf' not open in
application The file /Users/kbj/Papers/*Differences/Differences.pdf
does not exist.
error number 256 opening viewer
Found 0 errors, and 0 warnings in 1 runs
-interaction=nonstopmode -file-line-error-style exited with status 127