On 07/09/2006, at 6:13 PM, textmate-request(a)lists.macromates.com wrote:
> From: guerom00 <romain.guerout(a)stud.unibas.ch>
> Date: 7 September 2006 1:02:24 AM
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Deleting files from project drawer
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Hi there,
>
> I just want to know the general opinion about deleting
> files from the project drawer.
> Personally, I always only “delete references” and I find it
> a little bit dangerous that the default action in the dialog
> box is “move to Trash”... I have to be carefull each time I
> press backspace in the project drawer.
>
> Am I the only one bothered by this behaviour ? What
> do you guys think ?
>
> I would prefer the default action in the dialog box to be
> “delete references” and on top of that, another dialog
> box to confirm that I really want to move the file
> in the Trash (OK, maybe this would be too much...)
>
> Waiting for your comments :)
Definitely agree with the confirmation.
I find myself deleting all referenced files and re-adding them to the
project drawer regularly.
Why?
Because the project drawer doesn't update itself. I often start with
a template, then 'save as'. When I do this, the file that I started
with in the project gets replaced by the file I saved as. So, I then
add the old file back to the project drawer.
I also often work with other people. I copy their files into my
project folder, but the newly added files don't appear once switch
back to the project.
Consequently, during the course of a whole site, it's (for me)
quicker to simply delete all the references and start again each time
I save a file.
Maybe I'm not doing things the right way...
Cheers
Jonno
I'm spending a lot of time writing html mockups, which means i get to
work lots on "raw" html files not tied to any backend of any sorts.
So my work usually exists of switching back and forth between camino
(I use safari for normal browsing) and often navigating between files.
Now what I'd like is a way to catch the file I currently view in
camino and start to edit it in textmate, and also take the file I
edit in textmate and show it in camino (in the current tab)
The last thing there should already exist i suppose in some of the
"preview in browser" actions, but what about getting the current html
file from camino and editing in textmate?
______________________
Andreas Wahlin
Webbutvecklare
Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20
www.webbhuset.se
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by a reply email.
Thank you.
Hi -
New to TextMate and this list and very impressed so far with both.
I am experimenting with extending existing Language Grammars, and
I've run into a problem. I wonder if this is my problem or not, or
simply a problem in understanding the system:
It appears that some pattern definitions override or erase others.
For instance, I've added a feature to grab a reference to a
particular email in Mail.app and create a tag called "emaillink" in
my GTDalt document. Specifically, I want to add these emaillinks to
the notes fields in my GTDalt document (I mention this as it becomes
important below). I decided to make a new Language Grammar, based on
GTDalt, and wrote the following:
{ scopeName = 'text.gtdalt.jb';
fileTypes = ( 'gtd', 'gtdlog' );
foldingStartMarker = '^\s*project';
foldingStopMarker = '^\s*end\s*$';
patterns = (
{ name = 'meta.jb';
match = '\bmy_emailllnk_tag\b';
},
{ include = 'text.gtdalt'; },
);
}
Seems like it should work, but it doesn't. This appears to be because
the definition of the notes field (in the text.gtdalt Language
Grammar) erases my scope tag.
I see this, too, when I try to extend the C Language Grammar to
include color markup of the API I am using. In many cases, wherever
the text was in Scope source.c, it works. But as soon as the term in
question appears within a function declaration or a similar parsed
structure, my scope tag is eliminated in favor of the parsed one. The
position of the "include" line doesn't appear to make a difference.
It seems like there should be a way to have persistent scope tags,
for exactly this purpose -- color-coding particular terms or
rendering particular strings a certain way, potentially regardless of
local context. But if not, could someone suggest a workaround?
Thanks very much
jb
I love the html add attribute (command+control+option+end inside a
tag) however, i'd really like it if it kept within scope.
As it is now, triggering the snippet (?) in this context will add an
attribute to the NEXT tag, not the current one
<tag stuff|>
while
<tag stuf|f>
will trigger the snippet as one would imagine
(| denotes caret position)
i have a weak recollection that this was up sometime but ... a fix
thomas?
______________________
Andreas Wahlin
Webbutvecklare
Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20
www.webbhuset.se
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by a reply email.
Thank you.
Since switching to TextMate, I rarely make any syntax mistake, but
when I do, then it's because I write `\medksip' instead of `\medskip'
for instance.
All unknown LaTeX commands in regular text are grayish (with a few
notable exceptions such as \cite, \eqref and \ref for instance). I
would like to make a list of `known' LaTeX commands (including the
different skips, \noindent, etc.) and color them differently.
How would I do that?
With a little abuse, I've managed to color them red by adding them to
the constant.character.latex list, but this is not really a clean
solution …
Thanks a lot.
Max
Hi there,
could it be, that i cannot paste text from M$ Remote Desktop into
textmate? I can paste text from there to any other application such
as Stickies, BBEdit, a.s.o.
Regards Thomas
Hi all,
I've been working on a bundle for Stata and I've run into the
following problem. Occationally in Stata one might want to load a
file in another directory. For example
use ~/otherdata/bob.dta
I currently have the language definition set up so that use and
bob.dta are colored differently.
Now, if the path has a space in it, Stata would like the statement
with quotes arrount the path
use "~/other data/bob.dta"
Now TextMate treats the stuff in the quotes as a string and doesn't
color bob.dta. What I'd like to have happen is that bob.dta is
recognized inside the quotes.
Suggestions on how to achieve this would be much appreciated.
Thanks,
Tim
P.S. I should point out that in Stata mostly a quote really does
designate a string, so I don't want TextMate to completely ignore
quotes.
Since switching to TextMate, I rarely make any syntax mistake, but
when I do, then it's because I write `\medksip' instead of `\medskip'
for instance.
All unknown LaTeX commands in regular text are grayish (with a few
notable exceptions such as \cite, \eqref and \ref for instance). I
would like to make a list of `known' LaTeX commands (including the
different skips, \noindent, etc.) and color them differently.
How would I do that?
With a little abuse, I've managed to color them red by adding them to
the constant.character.latex list, but this is not really a clean
solution …
Thanks a lot.
Max
On Sep 5, 2006, at 8:55 PM, Gerd Knops wrote:
> Syntax from he**... I committed some more changes to the subversion
> repository, that should work better now.
Perl does have a weird syntax!
Thanks much for fixing that, Gerd.
- Dave
I have an "ä" (a with two dots or whatever you foreign devils call
it) in my filepath and safari chockes pretty good on this.
Or rather, the script that outputs the $activeurl seems to not
convert it into characters that safari doesen't like (oh, and if i
could have a camino and ff compatible version that'd be swell to)
______________________
Andreas Wahlin
Webbutvecklare
Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20
www.webbhuset.se
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by a reply email.
Thank you.