Hey there, I've got my Textmate Flex compiling working great with the
AS3 bundle, I'm just wondering if there's a way I can clear
flashlog.txt everytime I compile so I don't have to keep doing this
manually?
Cheers :)
Ali
--------------------------------------------------------------------------
Alistair Colling
Interactive Developer
FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511
This transmission is confidential and intended solely for the person or organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received this transmission in error, please
notify the sender at the e-mail address above.
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD.
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/
Hello,
I'm hoping someone can help. I don't know if I am doing something
wrong, or if there is a bug in the CSS bundle in TM 1.5.8.
For starters, when I open up a blank CSS document and hit opt-esc, the
only option I get is "title 2" (weird that it's not 1). If I'm reading
the CSS bundle correctly, I should get a list including #, *, ., and a
bunch of HTMl tags.
If I enter a selector and curly braces manually, and then hit opt-esc
inside the braces, I get the word "display" inserted. Again, from the
bundle definition (and logically), I would expect a list of CSS
property names.
Finally, if I enter a property name manually, followed by ':' (and get
the automatic ';' appended after the cursor), and then hit opt-esc,
all I get is '--', rather than a list of relevant attributes.
Would someone please help me understand what's going on here?
For what it's worth, I am working with a fresh "pristine" copy of the
"Bundles" directory in ~/Library/Application Support/TextMate/ out of
the "Pristine Copy" folder.
Thanks,
Avram
"I realized something was wrong when I looked over and saw the mast in
the water." - Dean Barker, Team New Zealand skipper
Hi
Does anyone know is there is a way to preserve syntax highlighting and print in color??
[f] www.flickr.com/photos/bitstream
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
One annoying issue I have with the projects panel is every time I click on a binary, textmate tries to display a text version of it...if it happens to be a large zip, textmate sometimes crashes.
Is there some way to avoid this, outside of removing all binaries from your project panel?
[f] www.flickr.com/photos/bitstream
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
Hi All,
I patched the ant bundle as described in a post earlier in January which fixes the build command but the build target command is not working.
After selecting the target text "main" in the build.xml file and then Ant->build target, I get the following error.
/tmp/temp_textmate.9KC3Zv:33: undefined method `attributes' for nil:NilClass (NoMethodError)
Any ideas what might be wrong, or maybe there is new bundle I could get?
Thanks in advance.
Is there any way to parse the open document (via regex search) and
return the results as choices for TextMate::UI.complete?
The command might search for "\$TM_\w+" so each time I want to type
$TM_SOMETHING I could get a list of completions built from what I've
typed elsewhere in the document.
I've got a basic TextMate::UI command up and running
<http://pastie.textmate.org/421465>, and as for a parser I've been
using this command: <http://pastie.textmate.org/421473> to complete
stuff thats been indented by 4 tabs (only bummer about this command is
that the document needs to be saved).
I'd love to combine these commands, but since I don't know Ruby I
don't have any idea what to do. (I scraped both those commands off
this list).
Thanks in advance.
I think the problem is "pstricks". If this package is involved, TM
uses automatically "latex" although "pdflatex" is set as default
engine. You can try it with this small example:
\documentclass{scrreprt}
\usepackage{auto-pst-pdf}
\usepackage{pstricks}
\begin{document}
Hallo
\end{document}
The package "auto-pst-pdf" should make using "pstricks" with
"pdflatex" possible but TM doesn't consider this. The only way I
found to avoid this is using the line
%!TEX TS-program = pdflatex
at the beginning of the code.
If there's anyone who has a better idea - I'm open for suggestions.
Am 19.03.2009 um 19:25 schrieb Allan Odgaard:
> On 19 Mar 2009, at 03:21, Gewitterbukk wrote:
>
>> [...] For example when I'm using packages like "auto-pst-
>> pdf" or "pstricks" TM uses "latex" to compile although "pdflatex" is
>> set as default engine.
>
> It tries to be smart, seeing that ‘pstricks’ works with postscript,
> not PDF. But I assume auto-pst-pdf makes it work with PDF or similar,
> and the command should either be even smarter, or not smart at all!?!
>
>> When I try to compile LaTeX-Code for the first time, I get the window
>> which is shown in the screenshot "pic1" attached in the appendix of
>> this mail.
>
> You say “for the first time”, does that mean the error is gone if you
> compile again, or that you resolved the problem?
Dear TextMate/LaTeX specialists!
I consult you because I've got a problem with setting up TextMate
(TM) for LaTeX correctly. At the moment TM seems to choose between
using "latex" or "pdflatex" by itself independent of the default
engine setting. For example when I'm using packages like "auto-pst-
pdf" or "pstricks" TM uses "latex" to compile although "pdflatex" is
set as default engine. This results in problems like everyone can
imagine. The only way to avoid this is inserting the line "%!TEX TS-
program = pdflatex" at the beginning if the LaTeX code. But that's
not the general idea I think.
When I try to compile LaTeX-Code for the first time, I get the window
which is shown in the screenshot "pic1" attached in the appendix of
this mail. Up to now I've pressed the button "Set PATH and Relaunch".
Just because I don't know what "kpsewhich" means and where it is to
find. Maybe that's the crunchpoint. After that the Terminal starts,
sets the PATH and TM restarts. But it doesn't work correctly in my
opinion. "Pic2" shows my LaTeX preferences. My current PATH is "/bin:/
sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin". The shell
variables are shown in "pic3". I'm using Mac OS 10.4.11, TeXLive 2008
and the current version of TM.
I would be very lucky if someone could help me by letting me know the
right settings.
Thanks a lot beforehand!
Best regards from Germany
A. van Ohlen
Guys,
I'm trying to create a completion command for the C language, using
D2. For that purpose, I wrote a function using TextMate::UI.complete.
It looks almost like that:
#!/usr/bin/env ruby
require ENV['TM_SUPPORT_PATH'] + '/lib/web_preview.rb'
require ENV['TM_SUPPORT_PATH'] + '/lib/textmate.rb'
require ENV['TM_SUPPORT_PATH'] + '/lib/ui.rb'
currentWord = ENV['TM_CURRENT_WORD']
# Build the list of completion choice.
choices = [{'display' => 'hal_Aa'}, {'display' => 'hal_Ab'},
{'display' => 'hal_Abc'}]
# Display the completion popup.
options = {:extra_chars => '_', :case_insensitive => false}
TextMate::UI.complete(choices, options)
When I call this TM command, it works fine, but pressing the '_' key,
while the popup is displayed closes it and cancels the completion.
This is not the behavior I expect as '_' has been added to the extra
chars.
Does someone know how to have the '_' character being considered as
part of the word?
BTW, in my preferences, the "Word Characters" field is "_". I don't
know if this impacts.
Best regards,
Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart
MSN: mathieu_godart(a)hotmail.com
ASIC Integration Manager
Coolsand Technologies
___________________________________________
The Hyperlink Helper bundle's Wrap Selection as Link will default to
"http://some-site.com/" if it can't find something else to link to (e.g.
something on the clipboard). Unfortunately, some-site.com is a real site
which people probably don't want to link to by accident.
RFC 2606 <http://www.rfc-editor.org/rfc/rfc2606.txt> states that example.com
can be used, and if someone does indeed go to example.com, they don't
get surprised.
I'm sending this info because the "Send Feedback..." portion of TextMate
brought up a page that suggested Bundle bugs to be discussed here. I don't
know if the current behavior is considered by others to be a bug, but we
had a near miss that almost caused some-site.com to be linked to in our
production web pages. We'd definitely have preferred example.com to
be in our pages had we not caught the mistake.
--
Cliff Matthews <ctm(a)sceim.net>
formerly ctm(a)ardi.com
Thanks, that's been fixed. Must be an artifact of using the bundle
editor. I guess I just wait now? The patch remains at
http://pastie.textmate.org/416564
>
> ---------- Forwarded message ----------
> From: Daniel Stockman <daniel.stockman(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 14 Mar 2009 19:35:24 -0700
> Subject: [TxMt] Re: Updating Javascript bundle?
> On Mar 14, 2009, at 3/14 6:54 PM, Michael Newton wrote:
>
>> Okay, I've created a patch using the instructions in the wiki article;
>> I've used SVN a fair bit, but never touched git so I'll leave that to
>> folks more knowledgeable than me. The diff file is here:
>> http://pastie.textmate.org/416564
>>
>> Let me know if there's any other way I can ease the addition of this
>> patch to the code base.
>
> Beware doubly-encoded ampersands in the diff (&amp; => &)
>
--
Michael Newton
http://mike.eire.ca/
Hi
first of all, congratulations for this fantastic enrichment of the
already genial project drawer. I did instaled Project+ and it worked
well (and I got really impressed) the first time. But after
installing and restarting and running it again it failed, TM shows the
classic project drawer, not the new enhanced one. You can touch round
the preferences of Project+ but it ignores them. But vuala! I opened
with mate several files from the terminal: "m *.json" and Project+
appeared, funnily both modes were present at the same time, the
classic one an the new one. Then I close and reopen my project and it
worked well.
The conclusion: you need to reopen a project to make Project+ to
became live.
- juan falgueras
The AppleScript window object in TextMate 1.5.8 (under Mac OS 10.5.6)
seems to be broken. I get get the window name and bounds, but not the
window document:
tell application "TextMate" to return (document of front window)
=> NOTHING
Compare this to TextEdit, which has a similar dictionary:
tell application "TextEdit" to return (document of front window)
=> document "foo.txt" of application "TextEdit"
Am I doing something wrong?
Regards,
Alan
--
Alan Watson
http://www.alan-watson.org/
Fo those of you using Consolas...
Microsoft's version of Consolas displays on the Mac and in TextMate
with an incorrect line-height, most clearly exhibited in selected
text, highlighted lines, and spelling error underlines. This makes
writing in Consolas irritating to me.
The version of Consolas that ships with BBEdit has a correct line
height but no italic or bold variations, which also irritates me.
If you extract BBEdit's Consolas from its package contents, install it
and disable Microsoft's "regular" weight, Leopard seems to use the
correct line-height information from BBEdit's version and apply it to
Microsoft's italic and bold weights.
Now Consolas is beautiful.
Sources:
<http://bandes-storch.net/blog/2008/12/21/consolas-controlled/>
<http://www.command-tab.com/2008/12/16/consolas-cursor-fix/>
The Ruby Debug.tmbundle is pretty old
http://www.datanoise.com/articles/2006/8/27/control-debugger-from-textmate
and I can't get it working anymore.
When I try and set a breakpoint in a rails project I'm getting this
tooltip error in textmate:
"We are not in a state that has an associated file"
The scope for the set breakpoint command is: source.ruby - comment
Does anybody have any ideas about why?
I put a copy of the Ruby Debug.tmbundle zip directory on github here:
http://github.com/stepheneb/rubydebug.tmbundle/tree
FYI: the ruby-debug gem itself has been updated so this command invocation:
rdebug -s --no-stop ./script/server
needs to replaced with:
rdebug -s --no-stop ./script/server
Guys,
I'm currently trying to develop a command which gets some log from a
cmd pipe and send the result of the TM command to the HTML output,
just like that:
cmd_pipe = open("|my_long_script.sh 2>&1")
cmd_pipe.each_line do |line|
print line
STDOUT.flush
end
cmd_pipe.close
This allows the web preview to be updated (better than the print
`my_long_script.sh 2>&1' for that reason) while the command is
processed. But my problem now is that the web preview does not got to
the end of the file automatically... This is a bit painful while
staring at the result of the command.
Do someone have an idea to force the web preview to scroll down each
time the STDOUT is flushed? Or something like that.
Thanks in advance.
Best regards,
Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart
MSN: mathieu_godart(a)hotmail.com
ASIC Integration Manager
Coolsand Technologies
___________________________________________
Hi list,
I started python and therefore I downloaded v3.0.1 as a dmg and
installed it.
If I test the version in the terminal with
python -V
it returns
Python 2.5.1
The same is used within Textmate.
I thought the old one will be updated with the new version... How
could I used the new version of python and where got it installed?
Thanks in advance
Christian
When I press that combo (by accident) I see the bottom bar of the TM
interface become a full-width text field with a flashing insertion
cursor, but I have been too scared to type anything into it. Has
anyone seen this? Any ideas what it means?
Thanks in advance,
Walter
Hi,
Recently I encountered a problem of running Perl script by cmd-R.
The error is:
/bin/bash: line 9: -e require
"#{ENV["TM_SUPPORT_PATH"]}/lib/tm/executor" require
"#{ENV["TM_SUPPORT_PATH"]}/lib/tm/save_current_document"
TextMate.save_current_document
TextMate::Executor.make_project_master_current_document
TextMate::Executor.run(ENV["TM_PERL"] || "perl",
"-I#{ENV["TM_BUNDLE_SUPPORT"]}", "-Mexception_handler",
ENV["TM_FILEPATH"], :version_args => ["-e", e_sh(%q{printf "Perl
v%vd", $^V})]): No such file or directory
I have tried to use GetBundle to update but this does not help.
Textmate: 1.5.8(1498)
[Sat Mar 14 22:33:05 mbp ~]$ cat /Users/cmlai/Library/Application\
Support/TextMate/Pristine\ Copy/Support/version
11282
Help?
Okay, I've created a patch using the instructions in the wiki article;
I've used SVN a fair bit, but never touched git so I'll leave that to
folks more knowledgeable than me. The diff file is here:
http://pastie.textmate.org/416564
Let me know if there's any other way I can ease the addition of this
patch to the code base.
> ---------- Forwarded message ----------
> From: Allan Odgaard <mailinglist(a)textmate.org>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 14 Mar 2009 15:52:19 +0100
> Subject: [TxMt] Re: Updating Javascript bundle?
> On 13 Mar 2009, at 17:14, Michael Newton wrote:
>
>> [...]
>> So, how can I get the official bundle updated with this stuff? The
>> modified 'Commands/Documentation for Word.plist' is at
>> http://pastie.textmate.org/415305 and the index file
>> 'Support/dmo_index' is at http://pastie.textmate.org/415304
>
> http://wiki.macromates.com/Bundles/HowToContribute
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Daniel Stockman <daniel.stockman(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 14 Mar 2009 13:11:59 -0700
> Subject: [TxMt] Re: Updating Javascript bundle?
> On Mar 13, 2009, at 3/13 9:14 AM, Michael Newton wrote:
>
>> So, how can I get the official bundle updated with this stuff? The
>> modified 'Commands/Documentation for Word.plist' is at
>> http://pastie.textmate.org/415305 and the index file
>> 'Support/dmo_index' is at http://pastie.textmate.org/415304
>
> If you're into the Git hotness, you could clone my fork[1] (or download a zip/tarball) of Thomas Aylott's work-in-progress restructuring of the bundle. I committed your patch into my repo, I like it a lot. :)
>
> [1]: http://github.com/evocateur/javascript.tmbundle/tree/master
>
> Regards,
> Daniel
>
>
--
Michael Newton
http://mike.eire.ca/
What's the process for updating a bundle? I got sick of looking at ads
whenever I needed a bit of Javascript documentation so I rewrote the
Javascript bundle to use developer.mozilla.org for documentation. In
addition to changing existing links, I also added dozens of very basic
methods (like document.getElementsByTagName or Array.join), statements
(like if...then...else), and operators (eg instanceof or new) that
were not included for some reason. And removed things like taint and
untaint, which haven't been supported by any browser since Netscape 3.
Hopefully the people from 1996 won't mind.
So, how can I get the official bundle updated with this stuff? The
modified 'Commands/Documentation for Word.plist' is at
http://pastie.textmate.org/415305 and the index file
'Support/dmo_index' is at http://pastie.textmate.org/415304
--
Michael Newton
http://mike.eire.ca/
Hello,
Is there an easy way to assign `Next Completion' to the `fn' key and
`Previous Completion' to `shift' + `fn' ?
(Reaching the `esc' key on a laptop keyboard is quite a stretch...)
Thanks,
Stéphane.
--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
CRI UPVD http://www.univ-perp.fr
I have a WordPress 2.7 blog that I had been using with TextMate.
Around the time I upgraded WordPress to 2.7.1 and TextMate to 1.5.8
(1498), TextMate lost the ability to interact with my blog. it gives
"Error: bad login/pass combination(403)."
I've isolated the issue to when my password contains an ampersand (all
the other characters are letters and numbers). For example, when I set
the password to abcabc it works, but abc&abc does not.
Hello,
When I'm using TweetDeck, if I click on a link in TweetDeck TextMate
pops to the front and tries to open the URL. It can't and I get this
error:
This version of TextMate does not support “twitpic.com” in its URL
scheme.
If I drag TextMate to the trash, Safari opens the link as expected.
If I copy the link in TweetDeck it looks like this:
event:http://twitpic.com/1xtwr
Is there anyway to get TextMate to stop trying to open these links?
Thanks,
Adhamh