I have just discovered TextMate, and am so far very happy with it,
but I think I just hit a glitch...
I am trying to edit a SQL load file that is about 5M, which shouldn't
be a problem. However, some of the lines are very long, as a complete
website contents is in a single line. I have no idea how many
characters are in this line, but I suspect about 2M worth.
Anyway, TextMate hangs while trying to work with this file. I can't
do much at all. Even a simple act of scrolling hangs. TextEdit does a
reasonably good job with the file though...
Actually, I don't think it is hanging, as it eventually responds
(about 30 seconds later), but it is so slow that it is completely
unusable. Is this a known problem? For me, it is weird files like
this that we need an editor like TextMate to be able to easily handle.
Thanks...
Jim Leask
Hi Allan and friends,
I have a source tree structure like this:
www/
site/
index.tcl, .adp
one.tcl, .adp
edit.tcl, .adp
item/
index.tcl, .adp
one.tcl, .adp
edit.tcl, .adp
The fact that files are named the same, but in different directories:
- Confuses both the Cmd-Opt-Up "Go to Header/Source" feature, which
will gladly find www/item/one.adp when I'm editing www/site/one.tcl. It
would be good if it would prefer the file in the current directory when
one exists. Otherwise, it's a great feature.
- Similarly, when using Cmd-T "Go to file", which I use almost
exclusively to open up new files now, it would be great if I could
write "itemonetcl" to get item/one.tcl, as opposed to site/one.tcl.
Currently, it doesn't take the path into account at all.
I can see some downsides to changing current behavior, too,
particularly with the Go to file feature.
But let me know what you think.
/Lars
I must be missing something really obvious here but I don't know how
to do this most basic thing:
(1) Drag a folder onto TM icon to open as project
(2) Open an HTML file called index.html
-- Now here's the part that throws me ---
(3) Make a new file called index2.html based on the original index.html
My first instinct is to right click on the file in the project drawer
and look for "duplicate file" or something similar - no such option
exists. So the next thing I try is opening the file and using "Save
as" to make the new file. This actually works but something weird
happens: In the drawer, it has the effect of *renaming* my original
file rather than adding a new one. If I switch to another
application and then back to TM, the original file reappears. Is
this expected behavior?
So what's the preferred method of creating a new file starting with a
copy of an existing one?
Thanks!
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
TextMate has a syntax element called "Embedded Source", which is used
for things like the lstlisting environment in LaTeX or JavaScript
code embedded in HTML. The default background color for this element
is a light blue, which is almost identical to the light blue used for
selected text. Because of the similarity, I always get confused and
think I've inadvertently selected some embedded source. I'm wondering
why there is such a similarity between these colors. Was it
deliberate (and if so, what was the reason?) or was this an oversight?
Trevor
Hi all,
I was wondering if anyone has any suggestions as to how one might use
Textmate to interface with Matlab? I can have a command execute a given
.m file, but Matlab is a much heavier process to load than perl is from
the command line, so that becomes a very unattractive option.
Ideally I'd like to have Matlab running in a terminal (the java
interface is just too slow for me), and edit with Textmate in such a
way that commands could reach the already loaded session.
cheers,
-don
==========================
Don Kalar
Graduate Student,
Cognitive Neuroscience
UCLA Department of Psychology
1285 Franz Hall, Box 951563
Los Angeles, CA
90095-1563
==========================
Hi there,
I've just updated my bundles from the repository as I thought I'd see
what new goodies are available. Now however when I attempt to commit
I get the usual status window with the following message:
"These files are not under version control, and so will not be committed:
._add_countries.php
test/unit/._postage_price_test.rb
test/fixtures/._products.yml
app/helpers/._application_helper.rb
app/helpers/._basket_helper.rb
app/models/._customer.rb
app/models/._sku.rb
app/models/._country.rb
app/models/._basket.rb
app/models/._card.rb
app/models/._order.rb
app/models/._product.rb
app/models/._basket_item.rb
..."
(and so on)
Then CommitWindow pops up with all those files listed again
(understandably with a ? status) and they are all selected too. This
is different behaviour to what I'm used to - the previously the
subversion bundle silently ignored ._* files and wouldn't even mention
their presence the status window.
I realise the ._* files appear as the project is on a NFS share but
previously this wasn't a problem. Is there way to tell the bundle to
globally ignore ._* or is the only option to set the svn:ignore
property recursively on every directory (and every new directory in
the future)?
(I've update the entire /Library/Application Support/TextMate/
checkout so I've got the up-to-date version of CommitWindow.app too)
Cheers,
Paul.
TM is very sensitive about order in which Alt and mouse button are
released. I often end up with regular selection when I try to select
columns.
I've checked XCode and Word - both requre Alt to be pressed only when
clicking mouse button, not when relasing. I find that much easier to work
with - it's fail-safe and I don't have to hold Alt when selecting.
Is there a reason why TM has selection implemented like this? Can this be
changed or made configurable?
--
regards, porneL
Any snippet that can type all that ugly code for me? I tried
dragging the .swf into my html like you do with images but that just
wrote some *really* ugly code (binary data). Do I actually have to
fire up - gag - cough - choke - Dreamweaver to do this?
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
> >
> > ------------------------------
> >
> > Message: 7
> > Date: Fri, 23 Jun 2006 01:03:28 +0200
> > From: Allan Odgaard <throw-away-1(a)macromates.com>
> > Subject: Re: [TxMt] A TMBundle for Textpattern beta relaease
> > To: TextMate users <textmate(a)lists.macromates.com>
> > Message-ID: <F3B8D746-E6D6-428B-A2AE-690899C83B22(a)macromates.com>
> > Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes;
> > format=flowed
> >
> > On 22/6/2006, at 23:01, marios wrote:
> >
>> >> Would it be possible to include an include statement, like the one I
>> >> included in the patched version ?
> >
> > Not sure exactly which one you are referring to.
If the HTML Bundle gets something like:
{ name = 'text.html.txp';
match = '(</txp:.*?>|<txp:.*?>|<txp:.*?\s{,8}/>|<txp:([a-z]{3})_.*?/?>)';
},
then I wouldn't have to include a whole clone of the HTML Bundle.
Wouldn't that also make it more compatible with the rest of the Bundle
Suite?
It's the HTML Bundle that interferes, I couldn't find any way to tell
the HTML Bundle not to match TXP tags.
> >
> > However, you can add ?disabled = 1;? to the rule to disable it. You
> > shouldn?t prefix it with X?es, as that?ll just give run-time errors
> > (for ?language not found?.)
I should have taken a better look at the syntax rules, thanks for
pointing that out.
> >
>> >> Just one quick question, some default assorted Grammars, have
>> >> disappeared from the Bundle Editor after the last Software update
>> >> to r1112.
> >
> > Which ones?
The HTML ones. I tried This:
1)I deleted the UUID from the cloned html Bundles(assorted ones),
since that didn't led to any change, I tried:
1) I discarded all bundles, included the TXP bundle that I had created
and left in the Bundle Editor.(I did that manually, not from the Bundle
Editor)
2)I SVN updated all bundles, reloaded Bundles from command line
Since that didn't lead to any change, I double clicked on the HTML
Bundle in /Library/Applicationsupport/Bundles , but no luck.
> >
>> >> Although they are there in their default locations, they just don't
>> >> show
>> >> up in the Bundle Editor.
> >
> > Only the languages? If it is the languages you copied to your own
> > bundle, it is because you did not give the copies a new UUID then --
> > i.e. use duplicate in the bundle editor (rather than copy on disk.)
See above, sorry, regards, marios
Still didn't check out Brad Choates new
Blogging Bundle, and watch your cast, that's really terrific.
I'd better watch that in depth ASAP,
regards, marios