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
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
==========================
Anyone here use or has used TypeIt4Me? I loved the idea while it worked
on my machine, but after 5 minutes it disappeared from my menu bar and
the developer is not responsive. Basically every time you press a space
it scans a list of abbreviations and expands the text if it finds a
match. Is this something I could do in tm with a command?
- Ben
>
>>>> I'm getting this error after copying the new command line tools to /
>>>> usr/local/bin:
>>>> tm: you need to update this helper tool.
>
> This is actually quite strange, since the protocol used to
> communicate with TM and the tool is at the same version as it has
> always been (so no combination of TM and the tool should give this
> error).
>
> The only reason I see is that the TM started actually predates
> implementation of the protocol. Do you keep old versions of TM
> somewhere on your disk (even the trash counts here)?
Nope, no old versions on disk. However the issue mysteriously
disappeared when I checked just now.
*crosses fingers*
- Ben
hi again,
I realize this has been discussed a while back, but AFAIR the issue
at the time has supposedly been resolved (threading of the
filessystemchecking process)
whenever I switch back to TM (say, after reloading a browser window)
to make changes in (say, a page template) i experience a noticable
and annoying delay of two to (sometimes) five seconds (on a dual 1GHz
G4 system with 1.25Gb RAM) together with a noticable spike in CPU
utilization.
until yesterday I just attributed that delay to the fact that I've
switched from working remotely via SFTP to WebDAV over HTTPS (on
Tiger). Meanwhile I'm hooked on the conveniences of being able to
work remotely using projects - so much, that I've moved my entire
project to my local machine just to eliminate that nagging delay and
keep the project mode - only to find out a day later that the delay
is still there...
the project contains well under a hundred files, each moderately
sized, nothing fancy there. is there anything I can do on my side of
the problem? could you on yours, Allan?
the delay shows itself by having the frontmost (project-) window
visble, but its bar grey and inactive.
curious in berlin,
best regards,
tom
--
Tom Lazar
http://tomster.org
1.0b4::
1. Added a preference setting to handle the snippet output
behaviour, so that it can handle both my style
( spaces_within_brackets ) and the PEAR standard style
(no_spaces_within_brackets) styles on the fly independent of the
stored snippet format.
2. Minor change to notify users of the documentation issues (no
local documentation or internet access = empty documentation)
You can find out more information about PHPCC 1.0b4 from here
[ http://www.imediatec.co.uk/tm/phpcc/ ]
or the download it directly from this link [ http://
www.imediatec.co.uk/tm/phpcc/PHPCodeCompletion-1.0b4.zip ]
Please keep me informed of the ideas, problems and so on.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
In order for the system caret to move with pageup/down, I use this in
my Keybindings file
"\UF72C" = "pageUp:"; /
* Page Up */
"\UF72D" = "pageDown:"; /
* Page Down */
This works all and well, but is it possible to get smooth scrolling
with it to? If i remove these lines, I get smooth scrolling but the
caret won't move (actually, textpad gives smooth scrolling).
Also, I'd like tab to indent/outdent lines of selected code, but
"\U0009" = "indent:"; /
* Tab */
seems to do nothing (actually, it does do something, it completely
disables tab in textpad).
as always, thankful for assintance
Andreas
This was my first stab at editing a language
definition. I tried to add "COPY" support as well,
but couldn't get it to work for whatever reason. This
version supports most keywords in the spec. I'll try
and add better stored procedure/function support as
well as get copy working and respam.
'njoy,
Mark
{ scopeName = "source.sql";
fileTypes = ( "sql", "ddl", "dml" );
foldingStartMarker = "\\s*\\(\\s*$";
foldingStopMarker = "^\\s*\\)";
patterns = (
{ name = "declaration.create.sql";
match =
"(?i:^\\s*(create)\\s+(aggregate|conversion|database|domain|function|group|(unique\\s+)?index|language|operator|operator
class|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)(\\w+)";
captures =
{ 1 = { name = "keyword.function.create.sql"; };
2 = { name = "keyword.other.sql"; };
4 = { name = "entity.name.function.sql"; };
};
},
{ name = "keyword.other.DDL.create.II.sql";
match = "(?i:\\s+(on\\s+|(not\\s+)?null)\\b)";
},
{ name = "declaration.drop.sql";
match =
"(?i:^\\s*(drop)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator|operator
class|rule|schema|sequence|table|tablespace|trigger|type|user|view))";
captures =
{ 1 = { name = "support.function.create.sql"; };
2 = { name = "keyword.other.sql"; };
};
},
{ name = "declaration.drop.sql";
match =
"(?i:\\s*(drop)\\s+(table)\\s+(\\w+)(\\s+cascade)?\\b)";
captures =
{ 1 = { name = "support.function.create.sql"; };
2 = { name = "keyword.other.table.sql"; };
3 = { name = "entity.name.function.sql"; };
4 = { name = "keyword.other.cascade.sql"; };
};
},
{ name = "declaration.alter.sql";
match =
"(?i:^\\s*(alter)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator|operator
class|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)";
captures =
{ 1 = { name = "support.function.create.sql"; };
2 = { name = "keyword.other.table.sql"; };
};
},
{ name = "keyword.other.DML.sql";
match =
"(?i:^\\s*([\\(]{0,}select(\\s+distinct)?|insert\\s+into|update|delete|from|where|group\\sby|and|union(\\s+all)?|having|order\\sby)\\b)";
},
{ name = "keyword.other.DML.II.sql";
match = "(?i:\\s+values\\s+)";
},
{ name = "keyword.other.sql.LUW.sql";
match =
"(?i:(begin(\\s+work)?|commit(\\s+work)?|rollback(\\s+work)?))";
},
{ name = "keyword.other.authorization.sql";
match =
"(?i:(grant(\\swith\\sgrant\\soption)?|revoke))";
},
{ name = "storage.type.sql";
match =
"(?i:^\\s*([A-Za-z0-9'_])+\\s+(bigint|bigserial|bit|bit\\svarying\\(\\d+\\)|boolean|box|bytea|character\\s(varying)?\\(\\d+\\)|char\\(\\d+\\)|var\\schar\\(\\d+\\)|cidr|circle|date|double\\sprecision|inet|int|integer|interval\\(\\d+\\)|line|lseg|macaddr|money|numeric(\\(\\d+,\\d+\\))?|oid|path|point|polygon|real|smallint|serial|text|times(\\(\\d+\\))(\\swithoutstimeszone)?|timestamp(s(\\(\\d+\\))(\\swithoutstimeszone)?)?|varchar(\\(\\d+\\))?)\\s*)";
},
{ name = "storage.modifier.sql";
match =
"(?i:\\b(primary\\s+key|references|on\\sdelete(\\s+cascade)?|check)\\b)";
},
{ name = "keyword.other.data-integrity.sql";
match = "(?i:\\bin\\b)";
},
{ name = "string.quoted.single.sql";
begin = "'";
end = "'";
swallow = "\\\\.";
},
{ name = "keyword.other.object-comments.sql";
match =
"(?i:^\\s*(comment\\s+on\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\s+.*?\\s+(is)\\s+)";
},
{ name = "comment.line.double-dash.sql";
match = "--.*$";
},
{ name = "string.quoted.double.sql";
begin = "\"";
end = "\"";
patterns = (
{ name = "string.interpolation.sql";
match = "#\\{([^\\}]*)\\}";
}
);
},
{ name = "string.quoted.double.sql";
begin = "%\\{";
end = "\\}";
patterns = (
{ name = "string.interpolation.sql";
match = "#\\{([^\\}]*)\\}";
}
);
},
{ name = "string.regexp.sql";
begin = "/(?=\\S.*/)";
end = "/";
patterns = (
{ name = "string.interpolation.sql";
match = "#\\{([^\\}]*)\\}";
},
{ name = "string.escaped-slash.sql";
match = "\\\\/";
},
);
},
{ name = "string.regexp.modr.sql";
begin = "%r\\{";
end = "\\}";
patterns = (
{ name = "string.interpolation.sql";
match = "#\\{([^\\}]*)\\}";
},
{ name = "constant.character.escaped.slash.sql";
match = "\\\\/";
},
);
},
);
increaseIndentPattern =
"^\\s*(create|grant|insert|delete|update)\\s*";
}
Is it possible to influence the font size in the HTML output window?
Specifically, in the "LaTeX and view" script it seems huge even on my
PB 12" screen.
Berndt
Not sure when this happened. But Justin F's early bundle work which
expands that which is before the cursor on a ctrl+space ('div'
becomes <div>|</div>) stopped working for me. I can't live with out
these.
I did a checkout of the bundles after upgrading to b15. I did delete
some (maybe his). Do you know which bundles these (macros/commands?)
live in and how I can fix it?
-tim
TextMate alongside more traditional heavies like OmniOutliner,
NetNewsWire, and Delicious Library:
http://maczealots.com/articles/shareware/2005/
> TextMate by Macromates is a fabulous text editor for programmers
> and designers. TextMate offers easy ways to manage your project,
> keep it organized and automate monotonous tasks. Managing code and
> markup are made much easier by this application, too. Because most
> projects require many files, TextMate is also great because it
> helps you manage all these files. The most commonly used features
> are the dynamic file outline that allows you to arrange your files
> in an outline and keep your changes up to date, tabs that make
> jumping between files simple, a clipboard history so you will never
> forget where you are going and where you have been and the ability
> to hide what you don’t use with foldings. TextMate consistently
> gets high ratings and you can’t beat it for the money.
>
> Some of the MacZealots crew use TextMate to write drafts of
> stories, create sample code for tutorials and even as a quick
> outliner. The reason is because TextMate is so lightweight compared
> to applications like Microsoft Word and Xcode. With less system
> overhead, we can use our dilapidated iBooks to work on the road.
Am I the only one who's noticed a rather substantial system slowdown
with b14 and 15 running?
SAUL ROSENBAUM
VISUAL CHUTZPAH
Strengthening Brands Through
Illustrated Images And Interactive Design
visit us on the web:
http://www.visualchutzpah.comhttp://www.saulrosenbaum.com
or give us a call:
p: 215.702.1147
f: 215.689.3465
Allan,
I'd love to, unfortunately she upgraded to Tiger yesterday whilst my back
was turned, all has now returned to normal! If I can track down another
machine that hasn't been upgraded Ill try to verify the problem and run the
tests you suggested.
Cheers,
Chris
On 28/7/05 13:00, "textmate-request(a)lists.macromates.com"
<textmate-request(a)lists.macromates.com> wrote:
> Okay, can I persuade you to do some testing on her setup?
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Just to inform everybody that the a new version of PHPCodeCompletion
with support for TM 1.1b15 can be downloaded from here: [ http://
www.imediatec.co.uk/tm/phpcc/ ]
IF you are not using TM 1.1b15, then you can still use download and
use the b11 - b14 version.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
On Jul 25, 2005, at 10:37 PM, Andreas Wahlin wrote:
>> I doubt you'll convince many here that the Finder is a good project
>> manager ;)
>>
>
> ehm, *coughs a bit* no I suppose not :)
> But if you would only use it SPATIALLY, then ... *shuts up*
I use to believe similarly. I strongly encourage you to spend a few
minutes playing with TextMate's projects. Just don't be too
surprised if they win you over. They sure sold me.
Apple-T is probably the best feature of projects. What to open
my_class_test.rb? Apple-T, mct, and return. You have to see it to
believe it.
Seriously, we're probably talking about 10 minutes of your time and
then at least you'll know what you're missing, if nothing else...
James Edward Gray II
On Jul 26, 2005, at 7:01 AM, Patrice Neff wrote:
>>> UTF-8 sucks for Japanese and Chinese texts mainly due to space
>>> reasons. If anything makes sense, then it is UTF-16, which
>>> Textmate also supports.
>>>
>>
>> Could you explain what you mean by "space reasons"?
>>
>
> Due to the way UTF-8 works, it used 1 byte for US-ASCII characters,
> but up to four bytes depending on the Unicode number. Many alphabets
> can be encoded with two bytes (especially the European ones, but also
> Hebrew or Arabic). Chinese and Japanese characters will require three
> or four bytes.
This size issue is largely a myth.
Remember, we are discussing "pictograph" languages. In English, the
word "forest" requires six characters. In Kanji (Chinese/Japanese
pictographs), it requires one. Even if we need four bytes to encode
that one character, it will still be smaller than the resulting
English encoding.
There are some encodings that squeeze Kanji into a smaller space,
it's true, but to say that the files balloon in size without this is
not really accurate, in comparison with other languages.
James Edward Gray II
On Jul 25, 2005, at 10:37 PM, Patrice Neff wrote:
> Apart from that, it seems that Unicode is not actually able to handle
> 100% of Chinese (and maybe also Japanese) script. But I'm not a
> Unicode expert.
Unicode does not include all of the Kanji, a shared set of
pictographs for Chinese and Japanese. However, the Japanese (the one
I know), at least, can just drop into their Kana (Hiragana and
Katakana) syllabary to "spell out" any word they can't represent with
Kanji. I assume the Chinese have a similar option, though I'm not
familiar with that language. However, since the average Japanese
person knows a few thousand Kanji and Unicode includes way over that,
I seriously doubt this is a common problem.
James Edward Gray II
On Jul 25, 2005, at 10:37 PM, Sean Schertell wrote:
> Unfortunately, UTF-8 doesn't work for Japanese in some cases. For
> example Mac IE (still used by all those poor souls still stuck on OS
> 9), shows lots of wacky characters.
Your example speaks of a no-longer supported browser for an abandoned
(for years now) operating system. I'm all for supporting a large
audience, but I'm going to be blown away if we're talking about %1 of
typical traffic here. That seems like a minimal risk hit to take, if
you ask me.
> then use iConv everytime you upload -- not exactly a smooth
> workflow :-(
It can be. Remember, TextMate is all about automation. Build a
command and turn conversion and upload into a single keystroke.
James Edward Gray II
hi,
i've been searching the main site, the wiki and the list - but can't
seem to find a bundle that does reasonable xsl syntax highlighting.
did i miss something, is there something worked on, the html/xml
bundles from b15 are just to simple for doing real xsl files. this is
the only thing that holds me back from buying a licence...
thanks for your answers
josef
A colleague recently upgraded to 1.1b15, and since doing that she cant get
project windows to appear, they are listed as being open under the window
menu, but cannot be seen onscreen - is this a known problem? She isnt
running Tiger, whereas I am and have no problem with b15, could this have
something to do with it?
Regards
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi Guys,
This is my first post. I just wanna say: Wow! This thing looks
truly awesome! But... for those of us doing non-western and non-
UTF-8 encoding web pages, it's unusable.
Oh please please PLEASE add support for Shift-JIS and EUC-JP! (japanese)
Cheers,
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
My favorite text editor on Windows is UltraEdit, and it has a columnar
editing mode which is useful surprisingly often.
I am pretty sure I understand how TextMate's columnar editing works
(option-arrow to create column selection, then type). However, having
a columnar mode makes the feature much more useful.
When in the columnar mode, any cursor movement stays in the mode, and
shift-arrow does what you'd expect it to: shift-up/down keeps the same
columns selected but adds/removes the next line while shift-left/right
adds/removes the next column for all lines.
When you have one or more columns selected, typing replaces the
contents with the character just pressed, but keeps the same number of
columns.
Typing with 0 selected columns enters that key on every row.
Delete removes all the selected columns, yielding 0 selected columns.
Paste enters the clipboard contents into the first row of the selected
columns, though
honestly, I'd prefer that it pasted to all selected rows.
I think the primary benefit of a columnar mode is the ease of keyboard
selection of the column range.
Additionally, UltraEdit has a feature where you can analyze a
delimited file and automagically convert it to a fixed width file,
which lends itself to columnar editing. When done, you can then
convert it back to a delimited format.
The two features work together to make it great for editing flat files
of both fixed and delimited flavors.
I'm attaching a screenshot of the fixed scan dialog in ultraedit for
illustration of the feature.
It's not the best designed UI ever, but:
x The current file is assumed to be delimited.
x The scan button analyzes the current file's lines to try to determine
the max length needed for each field based on the options selected
(which are all settings except "Keep Delimiter" and "Field Widths").
x Based on this analysis, the Field Widths textbox is populated with
each field's width. If you know the widths needed, you can skip the
scan step and just enter your widths in the Field Widths box directly.
x Once you're happy with the Field Widths values, you click Convert to
translate it to fixed width. The "Keep Delimiter" option determines
whether the original delimiters are stripped from the resulting fixed
file.
The Convert To Delimiter dialog is much simpler (screenshot excluded);
it just takes the last Field Widths used for conversion to fixed, and
slaps on the given delimiter at those lengths.
===
Sorry for the length, but I think these are very useful features which
could be implemented (with a better UI) in TextMate, and I'd be happy
to see them included.
Cheers,
Jeremy Dunck