Hi all, I've tried searching for this, and my google-fu is weak.
Does anyone know how I would be able to change the indentation behavior for
just parenthesis in Javascript?
Basically, our code convention is so that when you have multiple arguments
on new lines (for instance, passing an anonymous function as a closure), the
closing parenthesis aligns to whatever the current tabbing level is.
Currently, the curly brackets do this now, and would like to mimic the
behavior, but can't make heads or tails of doing it with the current
indentation patterns.
Here's what I would like:
var xyz = (
\t
)
Here's how it actually currently is:
var xyz = (
\t)
Here are my current indenation rules, could anyone help me get what I'm
looking for, or have I been looking in the wrong place?
{ decreaseIndentPattern =
'^(.*\*/)?\s*(\}|\))([^{]*\{)?([;,]?\s*|\.[^{]*|\s*\)[;\s]*)$';
increaseIndentPattern = '^.*(\{[^}"'']*|\([^)"'']*)$';
}
Thanks in advance all!
--
View this message in context: http://www.nabble.com/Javascript-indentation-tp16985640p16985640.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I’ve been looking through the bundle help, but I haven’t been able to
find any information about my problem.
While I am usually using pdflatex to compile my files, I’m currently
working on a project containing a little pstricks. As we’re several
people working on the file, I’fd rather avoid using %! comments in the
beginning of the file. I was thus wondering if there was some way to
set a project-wise environment variable to override the default engine.
Thank you very much,
Édouard GILBERT
edouard.gilbert(a)gmail.com
On 15-May-08, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
> On May 15, 2008, at 11:00 AM, Arcana wrote:
>
>> When I open Textmate, for some reason it opens X11 as well. I don't
>> know why this happens and I can't get it to stop. The X11 icon
>> appears in the dock.
>>
>> How can I stop Textmate from loading X11? Thanks.
>>
>> -- Arcana
>> Suikoden Interactive Fiction: http://suikoden.mine.nu
>
> Do you have any plugins or special bundles installed?
>
> If so, try to remove them one by one and to revert to default bundles.
>
> <http://wiki.macromates.com/Troubleshooting/RevertToDefaultBundles>
>
> Most likely, this is caused by some plugin/bundle that uses the X11-
> Libs. This causes X11 to start automatically (on Leopard).
How do I know what plugins I have installed, if the problem is
probably not bundles?
-- Arcana
Suikoden Interactive Fiction: http://suikoden.mine.nu
Hi,
what do I have to set up in the bundle editor to achieve the following:
- Word is selected, e.g. TextMate
- use a key equivalent to get: \ind{TextMate}
That all needs to work with the LaTeX-Bundle.
Thanks
Christian
When I open Textmate, for some reason it opens X11 as well. I don't
know why this happens and I can't get it to stop. The X11 icon appears
in the dock.
How can I stop Textmate from loading X11? Thanks.
-- Arcana
Suikoden Interactive Fiction: http://suikoden.mine.nu
Hello everyone :)
Often, bookmarks accumulate in my files and soon enough, well there's too
much of them and it becomes tedious to jump to the one I want :-D
I don't know if it is possible for the time being but I would like to be
able to delete all bookmarks from a file, to clean completely the file.
TIA
--
View this message in context: http://www.nabble.com/Clean-bookmarks-in-a-file-tp17252984p17252984.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I want to ask if there's anything like GitMate that does folder icons
same as SVNMate?
2nd thing is if it would be possible to share same shortcut ⌃⇧A for
SVN, GIT and all versioning bundles.
Since they are exclusive -> folder may either contain just .git
or .svn subfolder, the ⌃⇧A menu could display/trigger its items
relatively to presence of those folders somehow.
Regards,
--
Adam Strzelecki |: nanoant.com :|
The behavior of double-click and option-arrow have recently changed for
me (only in TextMate), and I'm finding the new behavior really annoying.
For example, if I have the following Python code:
def my_function(parameter_name, defaults=None):
#This is a test + another test ...
...then, 1) if I double-click on the "my" part of the function name, it
select the string "def my"; 2) if I double-click on the word "test", it
selects "This is a test ". Previously, #1 would have selected either
"my" or "my_function" (I forget which) and, #2 would have selected only
the word "test".
The option-left-arrow and option-right_arrow keys use similar "word"
breaks when moving the cursor: if the cursor is in the word "test", for
instance, option-left-arrow moves it to the beginning of the word "This".
It's not just a Python change, either. If I have the following text:
ALTER TABLE `my_table_name` MODIFY COLUMN `column_name` FLOAT NOT NULL;
...then double-clicking on the word "MODIFY" selects " MODIFY COLUMN ",
for instance.
What might have changed to cause this annoying behavior, and how do I
fix it?
I'd appreciate any suggestions,
Mike
Hi,
When I open a new document with TM, it's allways a plain text document. But
I wish often a html document.
What can I do in order to obtain an empty html document ?
Thanks in advance.
--
Bernd
Hello,
This report is mostly to Ciarán, who deserve great thanks for making
great TM plugin.
I've reported this problem on http://ciaranwal.sh/2007/12/07/svnmate-update-2
But since there's no response I believe Ciarán might missed that, so I
just want to report that some of the folders and files that are
supposed to be under SVN control have no badges at all.
This happens when SVN controlled folder contains the unmanaged file
(out of version control) + few other files under version control,
folder badge is missing (removed), also parent folder looses badge
too. IMHO there’s something wrong with badge inheritance.
Also there’s missing badge for files marked as “!” (svn status) and
when there’s such a file in the folder all other SVN files loose badges.
Regards,
--
Adam Strzelecki |: nanoant.com :|
Hi There,
I wonder if anyone can recreate this, I did a screencapture of it and
Submitted a bug.
(http://macromates.com/ticket/show?ticket_id=660D19FA)
View it Here : http://www.youtube.com/watch?v=PUa6W3E9ZCg
Not super quality.
If you want just if you can recreate it, mail me and I'll send the file.
It's 900k
Karl
--
-----------------------------------------
Karl Fischer
"Absence of evidence
is not evidence of absence"
Carl Sagan
Email : kmf(a)fischer.org.za
Jabber : kmf(a)jabber.org
Personal Site : http://fischer.org.za
-----------------------------------------
My Subversion project contains a few symlinks that point to the same
directory the symlinks are in.
When I try to add that svn directory to a Textmate project by dragging the
folder into the project window, it freezes Textmate.
When I remove the symlinks before dragging the directory into the project,
it's fine. However, when I do a Subversion update on the entire project,
and the deleted symlinks get brought back down... it immediately freezes.
Is there some way to instruct Textmate handle this apparent endless loop
more gracefully? I am using Mac OS 10.5.2 and Textmate Version 1.5.7
(1436)
--
View this message in context: http://www.nabble.com/Textmate-Freezes-when-a-Subversion-project-contains-a…
Sent from the textmate users mailing list archive at Nabble.com.
Hi.
Since I upgraded my OS to Leopard, I'm not able to "Typeset & View (PDF)" my
LaTeX documents anymore. If I press cmd-R, all I get is the message "env:
python2.3: No such file or directory". What do I have to do to cmd-R my
documents again?
I'm on build 1464 and all my bundels are svn-up-to.date.
Bernd
--
berndschiffer.blogspot.com
I know about the shortcut for 'current scope',
but I'd like to see an optional
"double click to select current scope"
thing similar to how Xcode does it.
(Or, is there already some way to bind a
double-click to an user-defined action somehow?)
BTW, there seems to be a lot of cases in Textmate
where a scope is not selected correctly via
Select -> Current Scope.
Seems to be happening in large nested blocks
(cpp).
-Shin
Hi Guys.
I work a lot with Textmate, almost exclusively, in my MAC 24inch. In my
work, I deal with several textmate windows spread on my desktop, so I
organise them as I like. Sometimes, I need to close the all or some windows
(independent windows and some projects spread on my desktop). Unfortunately,
when I need to open the last windows, I have arrange them again. My question
is: Can I save the layout? Thx a lot and congratulations.
In RSpec file, if I run Command-R, I get the following error:
/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/
Support/lib/text_mate_formatter.rb:5: uninitialized constant
Spec::Runner::Formatter::HtmlFormatter (NameError) from /usr/local/lib/
ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require' from /Library/Application Support/
TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:14 from /
tmp/temp_textmate.zl6ZPP:3:in `require' from /tmp/temp_textmate.zl6ZPP:3
I'm using Ruby RSpec bundle from the latest macromates svn repos. I
can't find HtmlFormatter class(?).
Any help would be appreciated.
Takaaki
--
Takaaki Kato
http://samuraicoder.net
Hi,
When you use the subversion commit command in TM to commit something
into a repository where there is no authentication cached, the command
will wait indefinitely. And there is no way to stop it (other than
quitting TM).
Jeroen.
The command ⌘⌥R in HTML mode to open the current doc in runnning
browsers does not work properly (sorry, :)
it does
[[ $(ps -xc|grep Safari) ]] && osascript -e 'tell app "System Events"
to set proclist to name of every application process' -e 'if proclist
contains "Webkit" then' -e 'tell app "Webkit"' -e activate -e "make
new document" -e "set the URL of document 1 to \"$activeURL\"" -e 'end
tell' -e 'end if' -e 'if proclist contains "Safari" then' -e 'tell app
"Safari"' -e activate -e "make new document" -e "set the URL of
document 1 to \"$activeURL\"" -e 'end tell' -e 'end if'
but when you have WebKit running, ps returns you Safari as browser and
then you run Safari !!! side by side with the current running WebKit.
You should open the url via open url in that case or open it looking
for the real browser (Safari or WebKit that is currently running)
- Juan Falgueras
I am trying to make a snippet for easy writing of Effective Uniform Annual
Worth calculations which look something like this: EUAW = (Yearly Benefit +
Salvage Value*[A/F, $5%, $6]) - (Yearly Cost + Initial Cost*[A/P, $10%,
$11]) = [same thing but with [] expressions replaced by table lookups i do
by hand]
This is the snippet I've crafted for this (and to learn how to use
conditionals in snippets in general):
EUAW($1) = (${2:Yearly Benefit}${3: + ${4:Salvage Value}[A/F, $5%, $6]}) -
(${7:Yearly Cost}${8: + ${9:Initial Cost}[A/P, $10%, $11]})
= ${14:($2${4/$|(.+)/(?1: + $1*0.)/}$12) - ($7${9/$|(.+)/(?1: +
$1*0.)/}$13)}
That fills in everything, with appropriate mirroring, with one exception. I
want the text that's inserted if Salvage Value or Initial Cost are not
removed to include a tab stop. Thus I want the last line to look, I think,
like:
= ${14:($2${4/$|(.+)/(?1: + $1*0.${12:Table Lookup Value})/}) -
($7${9/$|(.+)/(?1: + $1*0.${13: Table Lookup Value})/})}
So that way if the salvage value/initial cost fields are removed in the
first part of the equation, the tab stop won't be there, but otherwise it
will so I can fill in the table lookup value. However, I've tried about a
dozen things and I can't get it to put that tab stop there. I understand
that $12 in that context would refer to the regex subexpression 12, but I
have tried escaping all sorts of character combinations to prevent that to
no avail.
If someone could please tell me how to insert those conditional tab stops in
there, I would be most appreciative.
Thanks!
--
View this message in context: http://www.nabble.com/Inserting-Tab-Stops-inside-of-Conditional-Insertion-t…
Sent from the textmate users mailing list archive at Nabble.com.
Hello Allan,
I found this on the net today:
http://www.simplehelp.net/2008/04/24/how-to-blurminal-your-os-x-terminal/
Its a hack of the terminal via SIMBL giving transparent backgrounds of
Terminal a 'blur effect'.
For a certain degree 'blurring backgrounds' improve usability, instead
of being GUI-toy only.
Also, it would integrate well into GUI changes of OSX that came with
Leopard.
Could something similar be on the roadmap?
BTW: This 'blurring' effect could be accompanied (fo' tha freakanoidz)
by effects like 'invertation of the background', making it B/W or
applying textures to it.
And Im thinking these kinds of effects will be supported by Core
technology, having in mind that you stated TM2.0 will be absolutly
build on core libraries of OSX 10.5 Leopard :0)
Thanks in advance!
Dennis
ps: But I also have in mind that you dont think TM will have its own
background-images, so I consider that you dont put any priority on
these GUI things :0(
hello,
don't really know if it's a feature request, bug report or my stupidity:
if i have a project opened in textmate like this:
~/project_dir
a_file.txt
and i call 'mate a_file.txt' from inside the project_dir everything is
fine
(file opens as tab in project window). but if i call mate from another
directory
with an absolute or relative path to ~/project_dir/a_file.txt, it
opens in a new
window which is very unconvenient for me.
if there should be a reason (can't imagine one) against this proposal,
i could live
with a command line option to specify the project's directory.
thanks in advance for considering it,
yours kodi
Hey fellow textmates!
I'd really really like to replicate something like eclipse's ability to hit
tab to move outside parentheses. However, all I really want to do is be able
to hit tab to move from |) to )| outside parens, I don't really even need it
to work when the cursor isn't directly adjacent to the closing paren.
I know I can make ( trigger a snippet that does that, but then I lose all
the regular functionality. I thought perhaps one could define a scope
('within-parens') for all source code, and then there could be a command or
something that checks to see if the next char is a ) and if so advances the
cursor past it that'd only work in that scope.
More advanced functionality would be great but not really crucial. If anyone
could help with this I'd REALLY appreciate it!
Thanks!
Nicolas Artman
--
View this message in context: http://www.nabble.com/Using-tab-to-move-out-of-parentheses-%28like-eclipse%…
Sent from the textmate users mailing list archive at Nabble.com.
I've recently starting using mercurial (using v0.9.5), and am using
the Mercurial bundle (2 Aug 2007 version - the latest, I think).
Sometimes it works great, and sometimes an attempt to use it fails
with "abort: There is no Mercurial repository here (.hg not
found)!". I've searched the list archives, and found one reference
to this issue:
http://lists.macromates.com/pipermail/textmate/2007-November/023219.html
But I don't understand the discussion, nor how to apply it to my
project. How can I create a TextMate project that has files from
several different nested directories, without having the Mercurial
bundle fail to work?
Thanks,
--
Kevin Horton
Ottawa, Canada
I have written a command to "Reflow comments" in my Stata do files.
The command is as follows:
#!/usr/bin/env bash
sed -E -e 's_^\s*//(.*)_\1_' | # strip leading // and whitespace
from each line
fmt | # reflow comment text
sed -E -e 's_^(.*)_//\1_' # prefix each line with //
Input is set to "Selected Text" or "Scope", and output is set to
"Replace selected text".
If I invoke the command with the cursor in the middle of the following
comment:
// this is a profoundly silly comment that I'm writing just to test
out how to reflow comments
// something strange happens when I select the text rather than simply
execute it within the comment scope
// i wonder what's going on
// maybe i'll write to the mailing list
I get the desired output:
// this is a profoundly silly comment that I'm writing just to test
out how to
// reflow comments something strange happens when I select the text
rather
// than simply execute it within the comment scope i wonder what's
going on
// maybe i'll write to the mailing list
However, if I instead select the entire block of text, I get the
following mangled result:
// this is a profoundly silly comment that I'm writing just to test
out how to
reflow comments // something strange happens when I select the text
rather than
simply execute it within the comment scope // i wonder what's going
on // maybe
i'll write to the mailing list
Can anyone explain what causes the differing behavior?
Thanks!
Michael Manti
statboy3000(a)gmail.com
Trying out the ActionScript 3 bundle, and I get this error when I try
to build using mxmlc:
Loading configuration file: flex-config.xml
/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/
Support/bin/parse_mxmlc_out.rb:31:in `+': can't convert nil into
String (TypeError) from /Library/Application Support/TextMate/Bundles/
ActionScript 3.tmbundle/Support/bin/parse_mxmlc_out.rb:31 from /
Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle/
Support/bin/parse_mxmlc_out.rb:24:in `each' from /Library/Application
Support/TextMate/Bundles/ActionScript 3.tmbundle/Support/bin/
parse_mxmlc_out.rb:24
I can't figure out what's causing this. Any suggestions?
Hi!
At time I have no Mac as a laptop and therefore I use emacs when I'm
not in front of my iMac. I just found out that emacs has quite a
simple but cool outline-mode and wanted to ask if it is already ported
to TextMate. Does anybody know?
Niels
On Fri Apr 18, Kai von Fintel wrote:
> The minimal test case below shows that something in the parsing of the
> newenvironment command is throwing off the syntax coloring by the
> LaTeX bundle, at least on my system (TM 1.5.7 1464 on Leopard). The
> text in the document is incorrectly parsed as being in a math
> environment.
>
> \documentclass{article}
>
> \usepackage{amsmath}
>
> \newenvironment{choice}
> {\left\lbrace\begin{gathered}}
> {\end{gathered}\right\rbrace}
>
> \begin{document}
>
> Text incorrectly parsed as being in a math environment.
>
> \end{document}
>
> -----
>
> Any ideas of how to fix the parsing?
Hi Kai -- This isn't exactly the correct fix, but if you go to Bundles-
>Bundle Editor->Edit Languages... and pick the LaTeX->LaTeX syntax
definition, down about 1/3rd of the way down, you'll find the place
where it is looking for these mathy environments:
align|equation|eqnarray
| multline|aligned|alignat
| split|gather|gathered
soon below that, you'll find
end = '(?x)
(?:\s*) # Optional whitespace
If you change the (?:\s*) to (?:.*?) then you can get a sort of
approximation of the correct syntax coloring.
I really don't quite understand why it works, but the idea was
essentially to allow the { that precedes the \end{gathered} to be
ignored (it wouldn't have counted as whitespace). In the original
formulation, TextMate couldn't find the \end{gathered}, and so just
assumes that the environment ends when the document does.
This isn't actually the right solution, but it at least keeps you from
having the entire body of your document math-colored. The symptom of
why this isn't the right solution is that everything following
\begin{gathered} (including the closing brace of the first argument to
\newenvironment, as well as anything from then on until just before
the line containing \end{gathered}) is math colored.
Ideally, the LaTeX bundle would be able to handle \(re)newenvironment
specially, since each of the two arguments to these commands will
almost always contain a lone \begin or \end, and scope of any
mathification should presumably be restricted to the argument itself.
But I haven't got a clue how to approach this the "right" way.
-Paul
Hi.
I've recently moved from emacs to TextMate and am enjoying the shift.
When i first tested it, the Latex bundle option "Typeset & View"
worked fine. However that was short lived, and a week later i now get
"There was a problem reading the preferences file, continuing with
defaults".
I've noticed other people have experienced this before, and the
previous posts on the subject seem to say that this is a problem with
the python plist parser under Tiger, but that Leopard should be fine.
However i'm using 10.5.2 and the latest version of vanilla TextMate
(freshly downloaded), running on a PPC G4. I have also freshly
installed teTex from macports which works fine both in emacs and from
the command line.
Can anyone suggest where to begin?
Thanks.
Hey all! I have been looking around to see if anyone has made a script or bundle
that enables the functionality of MarkupMaker for TextMate.
http://www.accessify.com/tools-and-wizards/developer-tools/markup-maker/def…
In other words: take selected text, indented by spaces, and convert them to divs.
I did a quick search on the mailing-list and saw that people were talking about
this a while back, but I wasn't sure if anyone had figured this out. :) If not,
I may have to build my own script!
Thanks!
R
When I press Control-H in a Ruby document, I don't get documentation on
what's selected; instead, I get an error message like this:
/usr/local/bin/qri:17: undefined method `require_gem' for main:Object
(NoMethodError)
This just recently started happening (perhaps after updating some gems).
'qri' itself may have been updated, as its date is April 23.
What is 'qri'? It seems to be what's broken; if I just say "qri" in the
Terminal I get the same message.
Meanwhile, 'ri' works just fine in the Terminal.
Thx -
m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
On 1 May 2008, at 12:20, Allan Odgaard wrote:
> On 30 Apr 2008, at 17:37, Juan Falgueras wrote:
>
>> the original command to get man doc from Tcl commands in Tcl mode
>> was broken (at least in my system -with Developer Tools installed)
>> I have simplify it to a simpler and working script borrow from the
>> Shell script mode one:
>
> Is there any reason to actually keep this, instead of just removing
> it and relying on the command from the Shell Script bundle?
>
> I can imagine for Tcl you’d want to provide the manual section, but
> doesn’t seem like your command does that.
Here the reason is that Tcl has its man entries in the "n" volumen and
thereafter you must issue a command like:
man n regexp
- Juan Falgueras
I am looking at an upgrade for someone. All the files are ASP. I
dragged the folder over TextMate and realized that ASP Bundle is not
there.
What nobody on a Mac is editing ASP in TextMate? I don't get it!
;-)
--
Brad Tittle
Senior Systems Analyst
Trainnow.net
206-780-9555
Hi,
I've recently switched from Makefile based C++ projects to CMake
based. The Makefile bundle had a very nice compile HTML output were C+
+ errors/warnings were highlighted and clickable.
Is there any similar bundle for CMake for Textmate?
With kindest regards
Jonatan
Hi folks.
I have a problem with "typeset and view" with the latex bundle.
It used to work; now it doesn't. Whenever I 'typeset and view' the display
window doesn't display the pdf. The progress wheel spins indefinitely. I
tried changing the shell variable TM_LATEX_VIEWER to another pdf viewer
('preview') from my previous choice of 'TeXniscope' but that didn't help.
The latex engine is working, because I get the final pdf in my directory, i
just can't see the nice quick preview with cmd-R. Any suggestions?
May it be a problem with Acrobat? The display window, while trying to
perform its fruitless display, shows an Acrobat icon.
Thanks,
Sean
--
----------------------------------------------------
Sean McDaniel
personal: sean.m.mcdaniel(a)gmail.com
-----------------------------------------------------
Since I found this:
http://blog.macromates.com/2006/multi-stroke-key-bindings/
I'm using it a lot, and it is really nicer to type ⌘A than Cmd-A,
when writing all documentation, support mails etc.
I've tried to use those ⌘⇧⌥← when editing some markdown blog
post content, and I was quite surprised that TM displays them heavily
condensed, making them totally unreadable.
I tried with few fixed-width fonts, nothing helps. Is there any way to
cure that?
Cheers,
--
Adam Strzelecki |: nanoant.com :|
Hello,
I'm new to the Python Bundle in TextMate and was wondering how one
would go about formatting the docstrings in Python. The traditional
CTRL-Q did not work correctly. I then opened up the Bundle editor and
added the "string.quoted.double.block.python" to the scope of the
format "Reformat Comment" command in the Source Bundle. Again, this
did not work correctly. I then attempted to create my own command to
reformat comment, but when I read what is passed to the script, I get
the whole damn document, and not the scope.
Thanks in Advance,
- Nithin
As an interesting side note I attempted to copy the Reformat Comment
command and do some alterations to it, but for some reason, this is
not set: ENV["TM_BUNDLE_SUPPORT"]. I wonder why it's set in the Source
Bundle, but not in my own Bundle...
Hi all,
I really having trouble with TM. For some reason TM does not consider
the % sign within LaTeX. This means I get a lot of error messages. If
I comment out some included file (e.g. %\input{history}) TM still
reads the file and sends me errors like:
Latex Error: ./history.tex:6 LaTeX Error: Something's wrong--perhaps a
missing \item.
The file looks at this point as follows:
% \item parindent durch Option halfparskip entfernt
Why does that happen and so suddenly and how could I resolve it?
Thanks
Christian
Hi,
I'm not sure whether somebody has asked this before, but what is the
current status of Ruby bundle compatibility with 1.9, at least for
execution in TM preview window?
I'm trying to execute simple ruby script with ⌘R:
> #!/usr/local/bin/ruby-1.9
> puts "Ala ma kota".reverse
I get:
> RubyMate r8136 running Ruby r1.9.0 (/usr/local/bin/ruby-1.9) >>>
> test.rb
> :0:in `require': /Applications/TextMate.app/Contents/SharedSupport/
> Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13:
> invalid multibyte char (SyntaxError)
> /Applications/TextMate.app/Contents/SharedSupport/Bundles/
> Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13: invalid
> multibyte char
> /Applications/TextMate.app/Contents/SharedSupport/Bundles/
> Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13: syntax error,
> unexpected $end, expecting ')'
> ...ML e.message.sub(/`(\w+)'/, '‘\1’').sub(/ -- /, ' — ')...
> ... ^
> Program exited.
AFAIK 1.9 is getting closer towards stable release, so the final
syntax, and for sure it is much faster than 1.8, so for executing some
simple tasks but time consuming tasks it may be a good alternative to
1.8.
Cheers,
--
Adam Strzelecki |: nanoant.com :|
Greetings,
When I google the two terms "bbedit balance" (without the quotes) and
the resulting search ranks a textmate mailing list post as #1, I start
thinking, "I wonder if Allan is aware of this?"
I checked previous discussions (but only through 2006) to see if
anything had developed in the realm of balancing braces in the way that
"the app formerly known as the mac programmers first choice" did, back
in the day. And by the looks of things, I see only heavyweight solutions
to balance tags, which I believe is way more than I need and possibly
not what I want.
I also think it's undesirable to download an eval copy of "the app
formerly known as the mac programmers first choice" for this feature.
Perhaps my Christmas wish will be:
Oh please,
Oh please,
Deliver command b,
Under the tree.
Cheers!
the nameless popular programmers
On Apr 30, 2008, at 07:00, Jacob Rus wrote:
> Whether this will be implemented any time soon, or ever, is an open
> question, but several months ago we had some good discussions on
> ##textmate about how to make the most incredible indented softwrap
> the world has ever seen.
Is that conversation archived anywhere? I'd be curious to know what
people were attempting and what they were able to achieve.
Hi,
Creating a nomenclature with nomencl needs to invoke MakeIndex with
the following:
makeindex ⟨filename ⟩.nlo -s nomencl.ist -o ⟨filename ⟩.nls
The *.nlo file is successfully created after running LaTeX and I would
like invoke MakeIndex as I do it when compiling the document with LaTeX.
How could I do that?
Thanks in advance,
Christian
On 2008-05-01, at 07:00 , Allan Odgaard wrote:
> I have these notes from Jacob: http://pastie.textmate.org/189818
Thanks for that link, Allan. I thought, perhaps, someone had developed
some additional parameters for something like Markdown already. I like
everything that Jacob sketches out there.
Did anyone write anything that attempts the indented softwrap? (This
question is for the entire list.)
Hi,
When I work with new projects I often orientate on old ones. Therefore
I include these old files in the project drawer within my new project.
Often I copy something from the old ones. To prevent the old
(original) files from being changed during that, is there way to lock
it or give only rights for reading to it?
Thanks in advance
Christian
Hello,
For my glossary I use the package gloss. After a LaTeX run of the
document gloss creates a .gls.aux is created. In need to invoke BibTeX
on that file and would like to it with a nice shortcut as I do it when
using the command+L for creating my bibliography.
How could this be done with TextMate?
Thanks in advance,
Christian
Hi,
what is the best way to detect whether only DIALOG1 is available or
DIALOG2?
Up to now I would do this by checking whether the shell variable
DIALOG_1 is set. If yes I can use DIALOG2 features, if not I have to
use DIALOG1 syntax.
But I do not know whether there will be a change in the near future?
Thanks,
--Hans
Hi
the original command to get man doc from Tcl commands in Tcl mode was
broken (at least in my system -with Developer Tools installed) I have
simplify it to a simpler and working script borrow from the Shell
script mode one:
----------------
word=${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}
try_man () {
if man n -w "$word" &>/dev/null; then
page=$("$TM_SUPPORT_PATH/bin/html_man.sh" n "$word")
echo "<meta http-equiv='Refresh' content='0;URL=tm-file://$page'>"
exit_show_html
fi
}
try_man
echo "Couldn’t find documentation in 'man n' for “${word}”"
-----------------
- Juan Falgueras
Hi everyone,
Well here it goes. I am using TextMate to create ruby code. I can run
the scripts from the command line without issue. However when I run
the same script from with TextMate using command-R I end up with an
error stating it can not find the installed files seen from the
command line. I would appreciate any help with figuring this out.
Having quite a bit of editing to do in the future I would prefer to
remain in the same environment and not have to switch back and forth
during the development.
John Hannah