Hi there,
There seems to be a bug in the LaTeX bundle's reference/citation
auto-complete for my specific set-up.
I'm fairly sure I've fixed it (though its possible this is not the best /
most generic method) so I'll try to describe my problem / situation:
In my project I have a master .tex document, and several other .tex files
(each with something like the following line as their first line):
%!TEX root = ../thesis.tex
When I attempted to auto-complete references/citations I'd get this error
(output directly in my file at the cursor, not as a pop-up or tooltip):
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in
`initialize': No such file or directory -
/Users/andrew/Documents/Uni/Papers/Writing/Thesis/thesis.tex
(Errno::ENOENT)
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in
`open'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in
`options'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:45:in
`master'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:56:in
`get_labels'
from /tmp/temp_textmate.oacqrp:8
File:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb
The file that it claims does not exist definitely exists, but in the error
message that was output in my document, there was a diamond character
immediately after "thesis.tex", visible because i have the "Show Invisibles"
TextMate setting enabled.
I copied the text including the diamond character and pasted it into a
web-based ascii-to-hex converter (http://centricle.com/tools/ascii-hex/) and
it seems to be the character %0A, i.e. the Line Feed or new line character
(\n), suggesting the script is erroneously including the \n as part of the
TEX root filename property.
- I've checked the document in TextMate with Show Invisibles on and cannot
see any extra characters
- I've also tried deleting the line and typing it out again
- I've tried using absolute and relative paths for the root document
property
None of these solved the problem (and none had any detrimental effect after
I'd fixed it as described below).
I've fixed the problem by editing the script:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb
and changing line 42 from:
new_master = (master.parent + Pathname.new(opts['root'])).cleanpath
to:
new_master = (master.parent + Pathname.new(opts['root']*.strip*)).cleanpath
This fix would probably break the functionality of the root file if the full
specified path is required to start or end with a space (e.g. the root file
is called "master.tex "). I don't think quotation marks are allowed here to
account for this somewhat unlikely scenario, but it may well break the
script for someone. Perhaps a slightly better fix would be to remove a
single trailing \n character if it is present (however this is beyond my
Ruby scripting abilities).
Anyway, hope this is of some help and some kind of fix can be put into the
official bundle
cheers,
Andrew
Hello all.
I¹ve looked through the archives and didn¹t see anything resembling this
problem so I¹m sorry if it has already been addressed elsewhere.
When using the autocomplete feature (option-escape) or other certain
snippets in Textmate via either Ruby or Ruby on Rails, I receive the
following error:
/usr/local/lib/ruby/1.9.1/pathname.rb:270: warning: `*' interpreted as
argument prefix
/tmp/temp_textmate.0sHwXc:38:in `<main>': undefined method `to_a' for
"":String (NoMethodError)
What I¹ve tried so far:
1. Reinstalled Textmate
2. Reinstalled both Ruby and Ruby on Rails bundles. I tried the bundles from
both the SVN and the github sources.
3. Set the TM_RUBY variable to point to my system installed 1.8.7 folder
It¹s worth noting that snippets and autocomplete fails in other languages as
well PHP comes to mind. I¹m new to using Textmate fulltime for development
so this error is beyond confusing for me. This did not start happening until
after I updated ruby from 1.8.7 to 1.9.1.
Thanks in advance for any help you can offer.
Hi all,
I just discovered zen-coding (http://code.google.com/p/zen-coding/), which I find quite impressive. You can view a screencast for a quick overview of it's capabilites on Vimeo: http://vimeo.com/7405114.
Full TextMate support has been added recently (you'll have to install Zen.Coding.tmbundle, Zen.CSS.tmbundle and Zen.HTML.tmbundle).
Sorry for the noise if you already have been aware of this, but IMHO this is just too good to miss it…
Cheers,
Andreas
I have an issue where a 3rd party Textmate bundle is hiding a standard
bundle. Next, I have tried
changing the uuid of root .plist as well as the Syntaxes .plist of the 3rd
party bundle without any
success. Thus, the standard tmbundle isn't displayed within the Bundle
Editor or the Textmate ->
Bundles. If anyone has any ideas, please let me know.
Thanks in advance,
-Conrad
> Message: 3
> Date: Sat, 9 Jan 2010 17:20:24 +0100
> From: Allan Odgaard <mailinglist(a)textmate.org>
> Subject: [TxMt] Re: textmate and matplotlib
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <D146CDDD-8300-445F-B433-2B198156A990(a)textmate.org>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
> delsp=yes
> On 8 Jan 2010, at 14:44, Claus wrote:
>
>> I can execute scripts that contain matplotlib code perfectly well
>> from the command line (this one http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_example…
>> for example), but when I run them from within TextMate, python
>> keeps running endlessly, no error.
>
> This could be caused by the interactive input library we inject into
> Python (or the enabling of a flat namespace for the linker, whcih a
> Python library has previously been incompatible with).
>
> The easy fix is to:
>
> rm /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
> tm_interactive_input.dylib
>
> There is also an environment variable you can set, but I can?t find it
> ATM (away from my regular machine), I?ll have the troubleshooting
> pages updated with this info.
I removed the tm_interactive_input.dylib, however TM (python bundle -- run script) is still keeps running for a long time until I "stop task", no error message.
Does anybody have other ideas?
Thank you,
Claus
Is it possible to select text from the current position, forward a number of
lines, or to (or even between) a specific line number(s)? Also, is there any
means of selecting text from the current cursor position up until a search
term is found? (ex, I'm on line 30, I search for 'foo', which happens to
occur next on line 57, so lines 30-57 (or at least line 30 through 'foo' on
line 57) are selected.
Appreciate any assistance that can be provided!
--
View this message in context: http://old.nabble.com/select-text-to-line-number%2C-number-of-lines-or-sear…
Sent from the textmate users mailing list archive at Nabble.com.
I find "Shift Left" and "Intent Line" in "Text" menu, but I don't know
the difference of the behaviors. Can anybody explain them to me?
I'm using "Shift Left" all the time, and I sometimes get forced to move
to the next line after running the command.
Wil
I am used to write scientific papers and books with LaTeX since many years,
but I was working with a PC and not a Mac until recently. Hence, my
knowledge on textmate is rather small, and there is a problem which I cannot
fix without some friends outside in the universe. I will describe my problem
step by step:
(1) My mainfile contains
\usepackage{index}
\newindex{default}{idx}{ind}{
Sachverzeichnis}
\newindex{name}{adx}{and}{Namensverzeichnis}
what means that there will be two indices in the book, a regular one
(default) and a name index.
(2) In order to generate the ind- and and-files respectively I used to run
makeindex -o mytex.ind mytex.idx
makeindex -o mytex.and mytex.adx
from the terminal. That will be working as well with my Mac, but it is not
really comfortable.
(3) textmate offers a simple button to produce the ind-file. And now there
is my problem. I would like to know how to create a textmate-command that
produced the needed and-file.
Thanks for help or any advice in advance.
I'm getting a TextMate hang and a beachball whenever I right-click on a
TextMate document, but only in my local profile (i.e. a newly created
account works fine). Have tried deleting prefs and removing all custom
bundles, but no joy.
This is accompanied by a single word message from TextMate in the
console log "INJECT_ENTRY".
Can anyone offer any suggestions as to how I might resolve this?
Thanks in advance,
Chris
Hi,
is anybody here using TextMate with matplotlib/python?
I can execute scripts that contain matplotlib code perfectly well from the command line (this one http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_example… for example), but when I run them from within TextMate, python keeps running endlessly, no error.
Any thoughts why this might be?
Thanks,
Claus
Hi,
Another rookie rails question --
with some of the commands in the bundle, I am getting the innfamous "stack
level too deep"
I have removed builder.rb in both /Library/... and ~/Library/... but no
luck.
How can I determine which builder.php its choking on?
thanks,
--
dc
David Clark
16 Harcourt St #2I
Boston, MA 02116
617/859-3069
Hi,
on my system are two different version of python installed:
- the default of OS 10.6 in /usr/bin/python
- the fink version in /sw/bin/python2.6
How can I tell TextMate which one to use?
Thanks,
Claus
I forked Jacob Rus's Tabular bundle and added a new language, PSV, for
pipe-separated values. It's not much—basically just a rewrite of the
TSV language with the pipe character (|) substituted for the tab—but I
thought it might be useful as a sublanguage for MultiMarkdown, which
uses pipes as field separators in tables.
My fork is at
http://github.com/drdrang/tabular.tmbundle
I don't have enough experience with git to know the right way to
submit it for inclusion in the official bundle, so I decided to
mention it here.
--
Dr. Drang
I'm having trouble with the LaTeX bundle. In the preferences, I select pdflatex, but when I command-R, it appears to be using latex and produces errors. In the "Typeset & View" window, the button always says "Re-Run latex," never "Re-Run pdflatex" as it used to.
I'm using TM Version 1.5.9 (1589).
Any ideas?
Jim
I have been using (and loving) textmate for years - mostly for html, php,
and some text manipulation.
I have all kinds of bundles installed, and think I understand the issue
of scope... maybe.. Like, when i'm editing a php file, I still have the
scope set to html so that I still have all my commands, be it from zenhtml,
mhtml, php, etc or the ones I cant live with out - shift-ctrrl-w (wrap
selection in tag).
i'm now starting to work in ruby and rails - and I have 2 questions:
1. are the ruby and ruby on rails bundles redundant or should I have both?
2. The bigger question - when editing ruby files it does not appear that I
have access to the commands i'm familiar with (see above)
thanks for any and all pointers
--
dc
David Clark
16 Harcourt St #2I
Boston, MA 02116
617/859-3069
How do I get the "Documentation for current word" to work.
Currently I get the following error:
Traceback (most recent call last): File "", line 8, in File "/Library/Application Support/TextMate/Support/lib/dialog.py", line 12, in dialog = os.environ["DIALOG"] File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/UserDict.py", line 22, in __getitem__ raise KeyError(key) KeyError: 'DIALOG'
UserDict.py does exist.
Thanks,
Christopher
With the latex bundle, I can put a %!TEX root = directive in each file, or esle use TM_LATEX_MASTER so whichever file I am editing, I can still compile the whole document.
How do I do this in other contexts, e.g. with a python project?
(I have tried search engines but could not come up with the right query to find the answer).
Thanks,
Christopher
Help needed. Since a couple days, all my ruby
macros calling TextMate::UI.menu( )
produce the following error:
sh: : command not found
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:182:in
`load': Cannot parse a NULL or zero-length data (OSX::PropertyListError)
from /Applications/TextMate.app/Contents/SharedSupport
/Support/lib/ui.rb:182:in `menu'
from /Applications/TextMate.app/Contents/SharedSupport
/Support/lib/ui.rb:177:in `popen'
from /Applications/TextMate.app/Contents/SharedSupport
/Support/lib/ui.rb:177:in `menu'
from /tmp/temp_textmate.wMVbb2:17
I am not able to read inside Support/lib/osx/plist.bundle
since this is a binary file. Can't remember any big changes
in my setup (I moved to Snow Lep a few weeks ago, but
I seem to recall menus worked fine before Xmas).
Any idea or pointers? is Xmas to blame?
Thank you (and best wishes to everyone)
Piero
Is there a command to validate Ruby and Removing trailing whitespace?
I want to improve Command-S for Ruby development. I want to do
both of the commands at the same time.
Wil
Dear TextMate users,
I work with textmate 1.5.8 (1505) and Skim 1.3.3 (51) under Mac OS X 10.6.2 to typeset latex documents. I would like to use pdfsync for jumping "back and forth". I use \usepackage{pdfsync} in the preamble, set Skim to sync with textmate via Skim Preferences => Sync => PDF-TeX Sync support (preset: TextMate; Command: mate; Arguments: -I %line "%file"), and---of course---Skim is chosen as pdfviewer in TextMate. Now I should have shift-command-click for jumping from pdf to the code, and control-option-command-o for the other direction.
I use a main document main.tex which contains some latex code, as well as other chapters included with \input{chapter01}, \input{chapter02} etc.
I can easily go from the pdf file to the code, no matter where I am in the pdf. However, going from the code to the pdf does only work within the main document, not from one of the chapters. Although the pdf file is already open, it does not jump anywhere. Is this a known issue?
I also tried to check the "check for file changes" box in Skim, and used \include commands instead of \input to include the chapters---just played around, but it doesn't help.
Cheers,
marius
Dear TextMate users,
I would like to customize the way in which "Typeset & View (PDF)" works. Under Bundles => Bundle Editor => Edit Commands, I added the line "rm -rf *.toc" to the "Typeset & View (PDF)"-code. However, this did not work. I realized that this is a ruby script (although I have never worked with ruby) and changed my code to "puts `rm -rf *.toc`". Now the .tex document is compiled, but the command does not seem to be executed. How can I add unix shell commands to "Typeset & View (PDF)" to be executed on command+R?
Many thanks,
Marius
Here is the content of "Typeset & View (PDF)":
#!/usr/bin/env ruby
# coding: utf-8
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/process"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/htmloutput"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/save_current_document"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/require_cmd"
# To enable the typesetting of unsaved documents, you must change the “Save” setting of
# this command to “Current File” and add the variable TM_LATEX_AUTOSAVE to TextMate's
# Shell Variables preferences. Be warned that your document must be encoded as UTF-8 if
# you excercise this option — becauseTextMate.save_current_document cannot know the file
# encoding you prefer.
TextMate.save_current_document unless ENV["TM_LATEX_AUTOSAVE"].nil?
TextMate.require_cmd("kpsewhich")
texMate = ENV["TM_BUNDLE_SUPPORT"] + "/bin/texMate.py"
engine_version = TextMate::Process.run(texMate, "version")
TextMate::HTMLOutput.show(:title => "Typesetting “#{ENV["TM_DISPLAYNAME"] || File.basename(ENV["TM_FILEPATH"])}”…", :sub_title => engine_version) do |io|
TextMate::Process.run(texMate, 'latex', '1', :interactive_input => false) do |line|
io << line
end
end
::Process.exit($?.exitstatus)
Dear TextMate Users,
I think I found a bug in LaTeX syntax highlight
Consider, for example:
\[
\begin{array}{l}
\;\{
\end{array}
\]
Lorem ...
In the above snippet of text the text after the math environment (i.e., \]) is in a math scope. The problem seems to be that the first line after \begin{array} starts with a tex command (i.e., \) and it contains a \{
(easy solution: remember to indent the first line of an array environment; I haven't had time to look at the latex grammar).
All the best
Guido
--
Guido Governatori
http://www.governatori.net/Textmate
in other words automate the process of automatically starting a new line after 80 characters.
I am sure there must be a setting somewhere .....
Thanks,
Christopher
I'm fairly new to mailing lists and was wondering what the standard is
for forming replies. I generally try to follow the reply direction that
the current thread is following but was wondering if there was a standard.
Do I form a reply at the bottom or the top?
also.
Do I include the immediate parent thing I'm replying to or the whole
history?
I knew this once, but can't find it now and it's driving me nuts. When I create a new bundle item it goes into "Steve King's Bundle" by default. I want to change which is the default bundle. What's the magic?
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com
I am running Textmate on Snow Leopard. I've got the Ruby on Rails bundle in
my ~/Library/Application Support/Textmate/Bundles directory. However,
Textmate does not seem to see it? Any ideas...thanks in advance
--
View this message in context: http://old.nabble.com/Problem-installing-Ruby-on-Rails-bundle-tp26780280p26…
Sent from the textmate users mailing list archive at Nabble.com.
I fired up Firefox (the command-line version, so I could specify -jssh and use watir) and found
the following complaint.
firefox-bin[1614:903] Can't open input server /Users/bryanloc/Library/InputManagers/Edit in TextMate
Looking in my console log, I find scads of messages to this effect.
Can anyone tell me how to fix this problem?
Thanks.
Bryan
In my project sometimes i get some emty lines with tabs or tabs, spaces after text
For example:
> for ($i=0; $i < ; $i++)
> {
>
> // ↑line with tab(s)
> //this is a line with space at the end
> }
So i made the regexp: (^[\t| ]+[\n]|[\t| ]+$)
Strange result is that it works when ⌘-f
But when pressing ⌘⇧-f it doesn't search (or won't find anything)
Am i doing something wrong?
Regards Jasper
Alex Ross, thanks for all the hard work you've put into the latex2 bundle.
I have a request that maybe you can help with. There is a command in the latex bundle 'toggle starred' which adds or removes a star from sectioning commands:
/section{}
/section*{}
This works, but when executed it unfolds all of my folded blocks, and leaves the screen such a state that I completely lose where I was. Is this something that can be fixed?
Thanks.
>Is there a bundle for Google's programming language "Go" ? I only found one
>online http://gitorious.org/go-tmbundle , and it was an empty repo.
I put this one together. Let me know what you think....
Carl Forde
However beautiful the strategy, you should occasionally look at the results.
-- Winston Churchill
> Message: 7
> Date: Sun, 13 Dec 2009 18:30:08 +0100
> From: Allan Odgaard <mailinglist(a)textmate.org>
> Subject: [TxMt] Re: Unwanted newline php
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <30CEA0C1-8185-4A7B-843F-CE02B65D4FA9(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 11 Dec 2009, at 8:41, Ryan Fitzer wrote:
>
>> $fstat = fstat(STDIN);
>> $stdin = fread(STDIN, $fstat['size']);
>
> I am surprised this works. STDIN is a pipe and can?t be stat?ed for
> file size.
>
> I would suggest instead using file_get_contents("php://stdin").
One of the reasons decided to use the fstat method as it was the only
documentation I could find on the STDIN subject that I could make
sense of (new to this). This post was my source.:
http://muffinresearch.co.uk/archives/2007/03/19/using-php-cli-for-textmate-….
Also, php.net's explanation offered the following, further making up my mind:
"php://stdin, php://stdout and php://stderr allow direct access to the
corresponding input or output stream of the PHP process. The stream
references a duplicate file descriptor, so if you open php://stdin and
later close it, you close only your copy of the descriptor--the actual
stream referenced by STDIN is unaffected. Note that PHP exhibited
buggy behavior in this regard until PHP 5.2.1. It is recommended that
you simply use the constants STDIN, STDOUT and STDERR instead of
manually opening streams using these wrappers."
source: http://php.net/manual/en/wrappers.php.php
I just plugged your recommendation in and it works fine. Thanks for the tip.
Ryan
--
Ryan Fitzer
Los Angeles, CA
http://www.ryanfitzer.comhttp://www.ryanpatrickfitzer.comhttp://www.portfoliorodeo.com
Normally on textmate I write something like this:
if($data)
{
if($var == 'two')
{
echo 'hello';
}
// I hit enter here
//Goes here...
// insted of here
}
The issue is that normally when I hit enter it would stay flush on the next
line where it would normally go. I noticed that after I installed Snow
Leopard I run into an issue where it no longer stays flushed, instead it
goes to the very beginning, and i have to hit "tab" in order to return to
the original location i wanted.
I have Snow Leopard at home and at work, same programs. This just happened
after I reformatted my comp at work, and it's a new install of Snow Leopard,
with new install of PHP I haven't added any bundles, etc...
Anyone have any ideas what might be the issue?
I'm writing a command using php that reorders a css property list by
string length. The problem I'm having is that a newline character is
being added at the beginning of the result for some reason (using
Replace selected text). I've consulted this thread
http://lists.macromates.com/textmate/2007-April/019068.html but I've
found no way of echoing a string without the newline being added. Here
is the command:
#!/usr/bin/php
<?php
$fstat = fstat(STDIN);
$stdin = fread(STDIN, $fstat['size']);
//print_r($stdin);
$pattern = '/\{(.*)\}/Us';
preg_match($pattern, $stdin, $matches);
$output = trim($matches[1], "\n");
$output = preg_split('/\n/', $output);
function sort_strlength($val_1, $val_2) {
// initialize the return value to zero
$retVal = 0;
// compare lengths
$firstVal = strlen($val_1);
$secondVal = strlen($val_2);
if($firstVal > $secondVal) {
$retVal = 1;
} else if($firstVal < $secondVal) {
$retVal = -1;
}
return $retVal;
}
uasort($output, "sort_strlength");
$out = '{' . "\n";
foreach($output as $line) {
$out .= $line . "\n";
}
$out .= '}';
print(trim($out));
?>
Any help would be appreciated.
Ryan
--
Ryan Fitzer
Los Angeles, CA
http://www.ryanfitzer.comhttp://www.portfoliorodeo.com
Hi,
what do I have to do if I want to convert from
array.each { |e| puts e }
to
array.each do |e|
puts e
end
I found the command toggle 'do ... end' / '{ ... }' but I don't know
exactly how to use it. Where has the cursor to be positioned? Do I have
to select any text?
The shortcut ^{ won't work because I have a German keyboard. But even if
I choose the command from the menue nothing happens.
thanks,
Martin
After some time I tried again to blog from textmate on wordpress.
One question, I get all the '"' translated to " also if I'm in
[source] code block.
That is a problem because in the wordpress page those areas don't get
interpreted, and if I change them they will go back to " next time
I post it.
Any solution for this problem?
Hi,
just encountered a tiny inconsistency in:
"$DIALOG" menu --items '({title = foo;}, {separator = 1;}, {header=1; title = bar;}, {title = baz;})'
It shows instead the keyboard shortcuts 1 and 2 the "old" keyboard shortcuts ⌘1 and ⌘2.
This should be fixable easily by:
in Commands/menu.mm ⇢ uncomment line 69.
Cheers,
--Hans
Ever since upgrading to snow leopard scrolling via page up/down is broken. The current line does not move in sync with the viewable area. It jumps down what appears to be a random amount and sometimes even jumps back up when pushing page down.
Am I the only one experiencing this? I can produce a screen cast if necessary to demonstrate the behavior.
Thanks,
Rick
Hi,
I've discovered a little bug where new class creation from ³New From
Template² doesn¹t work if any of the path in the file system leading down to
your project directory contains a space.
So the path to my project is /Users/sam/Documents/Current Work/ProjectName/
Current Work in the path is apparently not escaped properly, as the ³New
>From Template² does work in ~. I looked at template_machine.rb, but I don¹t
know ruby so I¹m struggling to find the right bit/command to use to escape.
Thanks
--
Sam Thorne
UI Design Group
Sony Design Centre Europe
The Heights, Brooklands,
Weybridge, Surrey
KT13 0XW
Tel: +44 (0)1932 816263
************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.
This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards
When I use the TODO bundle I want it to scan the entire project, but it defaults to scanning the file selected in the. project drawer.
That leads to this annoying workflow:
- Call up TODO list
- Scratch head why it's empty
- Remember
- Curse
- Finde selected file in project drawer and deselect
- Call up TODO list
How can I get the TODO bundle to always scan the entire project?
Thanks
Gerd
Hi,
The ActionScript bundle provides a nice theme.
The ActionScript 3 bundle [1] has the autocomplete I want, but no color
syntax.
How can I tell the AS3 bundle to use the color syntax that the AS bundle
provides?
[1] http://svn.textmate.org/trunk/Review/Bundles/ActionScript%203.tmbundle
Any hints or tips is highly appreciated! :)
--
Martin Stabenfeldt
On 08/12/2009, at 11:00 PM, Rick DeNatale wrote:
> Well, I got WriteRoom for free in the last MacHeist bundle. So unless
> someone is paying you to use Ommwriter. <G>
Did you actually have a look at the Ommwriter website? http://www.ommwriter.com/. It's in beta, and free.
On 7 Dec 2009, at 15:08, Rick DeNatale wrote:
> This reminds me of WriteRoom
> http://www.hogbaysoftware.com/products/writeroom
>
> Only with more toys to distract you.
I was sceptical too, but I downloaded the app to give it a go. Sure it seems to be full of "toys", but IMHO the stroke of genius is in the ambient background music. Once I got started with an Ommwriter session I was engrossed within 5 minutes, no distractions. The music combined with the serene background image really does help you focus (and I mean really---try me).
Adam Sharp
Hi,
how could I do this?
Would like to:
unsubscribe: maillists(a)gmx.de
subscribe: trinix+maillist(a)gmail.com
Not working: http://macromates.com/community
Best
--
Christian
-Bill Gates is a very rich man today ... and do you want to know why? The answer is one word: versions.-
Dave Barry
I'm seeing the following in my system console messages when I bring up TextMate:
08.12.09 17:04:23 TextMate[1390] Can't open input server /Users/bryanloc/Library/InputManagers/Edit in TextMate
However, I see the complaint occurring in other programs, like this:
08.12.09 16:57:48 UnmountAssistantAgent[1357] Can't open input server /Users/bryanloc/Library/InputManagers/Edit in TextMate
Can anyone tell me exactly what this means and how I can fix it?
Thanks in advance,
Bryan
I'm working on a command to reflow perl/shell style # comments and running into a problem with scopes.
When I do a 'select scope' with the mouse on a comment, it correctly selects the surrounding lines beginning with #. However, if I set up a simple 'cat' command (seen here: http://grab.by/WGt) with the input set to "Selected Text or Scope" and the output set to tooltip, the tooltip is displaying the entire contents of the file (seen here: http://grab.by/WHB)
I'm running Version 1.5.8 (1509) on 10.6.2. What am I missing? Thanks!
Matt
Hi
I'm not an expert with Ruby so I need to know if the next command is safe
I want to select a "number" and to get $\numprint{number}$ if number is not empty
and number is not inside a math environment
or
\numprint{number} if number is inside a math environment.
then
if number is empty, I want to get \numprint{...} or $\numprint{...}$
I made this and I would like to know if this code is correct
#!/usr/bin/ruby
# Created by Alain Matthes on 2009-11-15 (www.altermundus.com).
require ENV["TM_SUPPORT_PATH"] + "/lib/exit_codes.rb"
if ENV['TM_SELECTED_TEXT'].nil?
input = ENV['']
else
input = ENV['TM_SELECTED_TEXT']
end
if ENV['TM_SCOPE'].match(/math.((.*)|(la))tex/)
$math_del = ""
else
$math_del = "\\$"
end
TextMate.exit_insert_snippet("#{$math_del}\\numprint{#{input}$0}#{$math_del}")
Is it possible to use a shortcut to go out of the first environment {...} and then to go out
of the math environment because the caret is inside {number} ?
Best regards
Alain Matthes