Hi,
In JavaScript I would like every instance of the word "self" and
"parent" to be orange except when they appear as "window.self" or
"window.parent". How can I specify these. What I have so far is...
{ name = 'window.js';
match = '\bwindow.self\b';
},
(Which is wrong, of course.)
Thanks for any help!
Peter
Removing the Support folder from ~/Library/Application Support/
TextMate fixed the problem, but I don't believe I created that
folder. I did use the GetBundles bundle to obtain one or two bundles.
Did it create that folder?
I had checked out the current bundles into /Library/Application
Support/TextMate using SVN, but then removed the entire directory
after I decided to stay with the "shipping" copies for now. Could
that have caused the conflict?
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
On Mar 1, 2007, at 11:46 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/mailman/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. $TM_FILENAME (Jasper van der Meulen)
> 2. Re: Edit (files) in TextMate from the finder (guerom00)
> 3. Re: $TM_FILENAME (Jasper van der Meulen)
> 4. Re: Opening a project with Quicksilver (Raheel Ahmad)
> 5. Re: Find: Ignore Whitespace (Hong Jiang)
> 6. MultiMarkdown conversion to LaTeX (Jeroen van der Ham)
> 7. Re: MultiMarkdown conversion to LaTeX (Allan Odgaard)
> 8. TODO Bundle broken? (Brendan Dixon)
> 9. Re: Textmate bundle disappeared (Bruno)
> 10. Re: TODO Bundle broken? (Allan Odgaard)
>
> From: Jasper van der Meulen <jasper(a)logt.nu>
> Date: March 1, 2007 7:25:27 AM PST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] $TM_FILENAME
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> I'm trying to get $TM_FILENAME to first string uppercase ..
> Is there an easy way ? i can't figure it out
>
> regards J.
>
>
>
>
>
> From: guerom00 <romain.guerout(a)stud.unibas.ch>
> Date: March 1, 2007 7:25:57 AM PST
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Edit (files) in TextMate from the finder
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> To be consistent, I made myself a trigger
> with the shortcut Ctrl-Cmd-E for this ;)
>
>
>
>
>
> From: Jasper van der Meulen <jasper(a)logt.nu>
> Date: March 1, 2007 7:33:52 AM PST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] $TM_FILENAME
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Sorry, i did make a typo, that's why it didn't work for me. ..
> here's the solution
>
> ${TM_FILENAME/(.*?)(\..+)/\u$1/}
>
> Regards J.
>
>
> On Mar 1, 2007, at 4:25 PM, Jasper van der Meulen wrote:
>
>> I'm trying to get $TM_FILENAME to first string uppercase ..
>> Is there an easy way ? i can't figure it out
>>
>> regards J.
>>
>>
>> _____________________________________________________________________
>> _
>> For new threads USE THIS: textmate(a)lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> From: Raheel Ahmad <rahmad(a)cs.siu.edu>
> Date: March 1, 2007 7:48:19 AM PST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Opening a project with Quicksilver
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Thanks,
> This worked best for me.
>
> On Mar 1, 2007, at 6:23 AM, Allan Odgaard wrote:
>
>> On 1. Mar 2007, at 05:10, Raheel Ahmad wrote:
>>
>>> I am assuming most of us here are familiar with Quicksilver. I
>>> wrote a bash script to open a project and some of its files in
>>> Textmate in an obvious fashion:
>>>
>>> #!/bin/bash
>>> mate ~/Documents/infodump
>>> mate ~/Documents/infodump/tsks.txt
>>>
>>> How can I run this script using Quicksilver? Only way I can is by
>>> running this script file using "Run in Terminal." "Run" by itself
>>> doesn't do anything with the script file.
>>
>> Likely because when you just ‘run’ it, it is done by Quicksilver,
>> which does not have the same PATH as the Terminal, and so, there
>> is a chance ‘mate’ is not found.
>>
>> Try to use the full path to mate in the script.
>>
>> As an alternative to mate, you can use: open -a TextMate ~/
>> Documents/infodump
>>
>>
>> _____________________________________________________________________
>> _
>> For new threads USE THIS: textmate(a)lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>>
>
> ---------------------------
> Raheel Ahmad
> Department of Computer Science,
> Southern Illinois University
> rahmad(a)cs.siu.edu
> 618-453-6025
> Faner-3123
>
>
>
>
>
>
> From: "Hong Jiang" <ml(a)hjiang.net>
> Date: March 1, 2007 7:59:16 AM PST
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Find: Ignore Whitespace
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> If you want to search for the whole thing ignoring whitespaces and
> newlines, you need to insert \s* between the words and symbols. For
> example:
> \s*}\s*elseif\s*(\s*$action\s*==\s*'update_product'\s*)\s*{\s*\
> $update_sql_data\s*=\s*
> ....
>
> Make sure to escape regex symbols that occur in your string.
>
>
> On 3/1/07, Richard Burford <richyburford(a)hotmail.com> wrote:
>> Andy,
>>
>> Thanks for your reply. I have tried that and it doesn't work for me.
>> Maybe I am doing it wrong.
>>
>> How would you use regex to ignore whitespace and newlines in this
>> text?
>>
>> } elseif ($action == 'update_product') {
>> $update_sql_data = array('products_last_modified' =>
>> 'now()');
>>
>> $sql_data_array = array_merge($sql_data_array,
>> $update_sql_data);
>>
>> tep_db_perform(TABLE_PRODUCTS, $sql_data_array, 'update',
>> "products_id = '" . (int)$products_id . "'");
>> }
>>
>> _____________________________________________________________________
>> _
>> For new threads USE THIS: textmate(a)lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>
>
>
>
> From: Jeroen van der Ham <jeroen(a)je-ju.net>
> Date: March 1, 2007 8:19:01 AM PST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] MultiMarkdown conversion to LaTeX
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Hello,
>
> Today I discovered the MultiMarkdown capabilities and thought I'd
> use it
> to make a LaTeX document. However, now that I'm actually trying the
> conversion, it does not work as expected:
> xslt chokes on the output because there is no envelopping top level
> tag.
> Meaning, that if you have for examples two paragraphs of text, then
> you
> get the error:
>
> -:3: parser error : Extra content at the end of the document
>
> Is anybody maintaining this bundle? How can this be fixed?
>
> I tried using tidy on it before handing it to xslt, but then I only
> get
> the bibliography part of the output. And I'm not fluent enough in
> xslt to
> figure out what is going wrong there....
>
>
> Jeroen.
>
>
>
>
> From: Allan Odgaard <throw-away-1(a)macromates.com>
> Date: March 1, 2007 8:23:02 AM PST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] MultiMarkdown conversion to LaTeX
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 1. Mar 2007, at 17:19, Jeroen van der Ham wrote:
>
>> Today I discovered the MultiMarkdown capabilities and thought I'd
>> use it
>> to make a LaTeX document. However, now that I'm actually trying the
>> conversion, it does not work as expected:
>> xslt chokes on the output because there is no envelopping top
>> level tag.
>> [...]
>
> You need to insert: ‘Format: Complete’ in the top of the document.
>
> I think I have a note somewhere about making the build command(s)
> check it and either warn or just add it silently :)
>
>
>
>
>
>
>
> From: Brendan Dixon <brendandixon(a)mac.com>
> Date: March 1, 2007 11:28:33 AM PST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] TODO Bundle broken?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Running the pristine copy of TODO from build 1360, I get the
> following error message:
>
> /tmp/temp_textmate.pXvDHC:19:in `require': No such file to load -- /
> Users/brendan/Library/Application Support/TextMate/Support/lib/
> plist (LoadError) from /tmp/temp_textmate.pXvDHC:19
>
> Any ideas?
>
> Brendan Dixon
> brendandixon(a)mac.com
> 425.922.8798
>
>
>
> From: Bruno <mail(a)hinterland.nu>
> Date: March 1, 2007 11:33:32 AM PST
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Textmate bundle disappeared
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
>> What is the contents of ~/Library/Application Support/TextMate ?
>
> Well, there was a copy of 'TextMate.tmbundle' in 'Pristine Copy/
> Bundles', so I moved it to Bundles and restarted TextMate.
>
> It worked! My 'Language Definition' bundle disappeared, and there
> was a TextMate bundle in my list instead.
>
> I think that's fixed it. Thanks everybody for the advice. :-)
>
> And incidentally, I noticed the Themes folder, and realised that my
> syntax colouring was independent of my preferences (probably
> obvious to most people).
>
> Bruno
>
>
>
>
>
>
> From: Allan Odgaard <throw-away-1(a)macromates.com>
> Date: March 1, 2007 11:45:52 AM PST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] TODO Bundle broken?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 1. Mar 2007, at 20:28, Brendan Dixon wrote:
>
>> Running the pristine copy of TODO from build 1360, I get the
>> following error message:
>>
>> /tmp/temp_textmate.pXvDHC:19:in `require': No such file to load
>> -- /Users/brendan/Library/Application Support/TextMate/Support/lib/
>> plist (LoadError) from /tmp/temp_textmate.pXvDHC:19
>>
>> Any ideas?
>
> This will happen if you have checked out a recent version of the
> Support folder from svn, but not the bundles, since we moved the
> plist ruby ext. to another location (so it doesn’t clash with the
> rubygem plist ext.)
>
> I am going to push an update in a few days -- for a fix now, either
> remove your Support folder checkout, or checkout latest version of
> the ToDo bundle.
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
I have a new bundle I have written for N3/Turtle. I saw a request in
for RDF so I suspect there is a fellow semantic webster out here
somewhere. I have pretty good syntax highlighting although it is
pretty much the turtle subset of N3 right now...re:
http://www.dajobe.org/2004/01/turtle/
I was pretty unsatisfied with the only emacs mode out there:
http://larve.net/people/hugo/2003/scratchpad/NotationThreeEmacsMode.html
And have recently started using Textmate, and started working on this
bundle.
This bundle also has the ability to become the basis for a SPARQL
bundle as that is also based on the N3 syntax.
Anyway, the bundle is useful to me and without people requesting fixes
it will never get better. You know, I'll fix anything that doesn't
fit my coding style but that won't take long.
Main feature: I highlight subject, predicate and object (also literal
vs iri objects) rather than uri vs qname color.
Anyway, just looking for anyone else interested in N3 or any bundle
dev advice in general as this is a new platform for me after a long
emacs relationship.
--
ciao,
Phil
Running the pristine copy of TODO from build 1360, I get the
following error message:
/tmp/temp_textmate.pXvDHC:19:in `require': No such file to load -- /
Users/brendan/Library/Application Support/TextMate/Support/lib/plist
(LoadError) from /tmp/temp_textmate.pXvDHC:19
Any ideas?
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
Hello,
Today I discovered the MultiMarkdown capabilities and thought I'd use it
to make a LaTeX document. However, now that I'm actually trying the
conversion, it does not work as expected:
xslt chokes on the output because there is no envelopping top level tag.
Meaning, that if you have for examples two paragraphs of text, then you
get the error:
-:3: parser error : Extra content at the end of the document
Is anybody maintaining this bundle? How can this be fixed?
I tried using tidy on it before handing it to xslt, but then I only get
the bibliography part of the output. And I'm not fluent enough in xslt to
figure out what is going wrong there....
Jeroen.
Andy,
Thanks for your reply. I have tried that and it doesn't work for me.
Maybe I am doing it wrong.
How would you use regex to ignore whitespace and newlines in this text?
} elseif ($action == 'update_product') {
$update_sql_data = array('products_last_modified' => 'now()');
$sql_data_array = array_merge($sql_data_array,
$update_sql_data);
tep_db_perform(TABLE_PRODUCTS, $sql_data_array, 'update',
"products_id = '" . (int)$products_id . "'");
}
I am assuming most of us here are familiar with Quicksilver. I wrote
a bash script to open a project and some of its files in Textmate in
an obvious fashion:
#!/bin/bash
mate ~/Documents/infodump
mate ~/Documents/infodump/tsks.txt
How can I run this script using Quicksilver? Only way I can is by
running this script file using "Run in Terminal." "Run" by itself
doesn't do anything with the script file.
Thanks
Raheel
Hi. I've started having a problem with the TODO bundle, where 'Show
TODO list' never completes - it just keeps processing. I assume that
there's some kind of infinite loop in the regex search, but I have no
idea how to find it. I stripped away the list of options (FIXME,
CHANGED etc) but it hangs on all of them. Can anyone offer any advice?
Bruno