Hi,
Is there a way to pervent TextMate from using the Option key
to toggle the selection type?
It's conflicting with another key binding I have for the Option
key :(
This is a deal breaker for me and TextMate is the best editor
I have seen on OSX so far.
Thx
Haris wrote:
> Oliver,
>
> The screencast is very nice!
> The main problem for me is that I don't know the first thing about
> what things a screenwriting bundle should be doing. If you ask very
> particular questions about how certain tasks could be accomplished,
> I'm sure you'll find that lots of people will be able to help you.
> But most of us are just not familiar with screenwriting software,
> and screenplay formats in general. I actually looked at your bundle
> the last time you posted, but couldn't really understand what most
> commands are for, since I've never in my life seen a screenplay.
> Seeing the screencast makes some things click.
> So please, set some particular goals for commands/conversion tools,
> and you have a good chance of getting people to help out. For
> instance, what would you want the conversion tool to do? Give us
> some examples of how the result should look.
> You've done a great work so far, and it would be nice to see this
> bundle pushed even further.
>
> Haris
Okay, I guess most people had no idea what I was doing when I posted
my screenwriting bundle because I didn't describe what the bundle
does and how it does it. My mistake.
I've posted a new screencast that goes into much more detail
regarding what I the bundle to be able to do. Grab it here: http://
www.ollieman.net/files/screencast2.mp4
The ultimate goal is to end up with a PDF which contains text that
conforms to the Studio Format. The Studio Format is a industry-
standard layout which all professional screenwriters work in and is
the very purpose of screenwriting software. Fortunately for us, the
format is very strict as it is modeled after what a typewriter is
capable of.
You can find more information on the Studio Format and an example of
it at http://www.ollieman.net/files/bundles/
---
In another screencast, I intro the bundle and what it's designed to
do from a writer's perspective. Grab it here: http://www.ollieman.net/
files/screencast-intro.mp
Hi,
I have some small suggestions to the HTML, CSS and Markdown Bundle.
# HTML
## Refresh Running Browser(s)
Change Scope to `text.html, source.css` so the Browser can be
refreshed when editing the CSS file.
## Minor syntax stuff
php-source = { patterns = (
{ name = 'comment.line.number-sign.ruby';
match = '#.*?(?=\?>)';
},
{ name = 'comment.line.double-slash.ruby';
match = '//.*?(?=\?>)';
},
{ include = 'source.php'; },
);
};
Ruby mixed with php?
# Experimental/CSS
What about those Experimental Bundles? I use the CSS syntax from
there and it would be nicer if it was in the CSS bundle. Because
calling the Gear (Bundle Stuff) menu (Control-Escape) puts you there
and not in the CSS bundle. The experimental CSS syntax has been
around for quite some time and I wonder if it still is work in
progress? It seems to be better than the official CSS Syntax anyway.
# Markdown
## Suggestion: Markdown with [SmartyPants](http://daringfireball.net/
projects/smartypants/)
“Preview”/“Preview in Browser” or “Convert Document/Seletion to HTML”
Pipe it through `Smartypants.pl` (must be added to the repos.) to
have nicer HTML.
There should not be any problems so one could add it to the default
commands instead of creating an additional variant with SmartyPants.
I wonder why John Gruber did not combine them in the first place.
# Conclusion
That's it for now.
Have a nice day,
Soryu.
PS: Why do I not simply make those changes for myself? I did but then
I won't be able to use better bundle items from the repository or
even a new TextMate release because my changed override them. I know
Allan has something on the todo to manage this but it's not short term.
Hi
I sometimes have to work on large data files. The HITRAN 2004
spectroscopic database, is such an example (http://cfa-www.harvard.edu/hitran//). According to the terminal command wc
(wordcount), the file that I want to open contains 280 983 978
characters in 1 734 469 lines. Opening with TextWrangler takes about
20 s.After that time I can move around and do some copy and paste
etc. TextMate, however, takes about 10 s on my 1.5 GHz G4 PB (2 GB
Ram), then it unexpectedly quits without actually displaying the
file. Can/Shouldn't I expect TextMate to work with files this large ?
There appears to be a problem with memory allocation.
Here is what the console log says.
===== Dienstag, 24. Januar 2006 14:54 Uhr Europe/Berlin =====
TextMate(18765,0xa000ed68) malloc: *** vm_allocate(size=1073741824)
failed (error code=3)
TextMate(18765,0xa000ed68) malloc: *** error: can't allocate region
TextMate(18765,0xa000ed68) malloc: *** set a breakpoint in
szone_error to debug
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Christof
I'm trying to update/extend the ActionScript bundle and replace the
commands that output using the deprecated "Show in Seprate Window".
To do this I'm trying to store the output of the compiler then,
depending on success parse the output message differently.
Trouble is the following leaves me with nothing to work with:
complieResult=$( mtasc -cp "$TM_MX_CLASSES" -cp "$TM_CLASS_PATH" -cp
"$TM_CLASS_PATH/FP8" -cp "$PROJECT_DIR/src" -cp "$PROJECT_DIR/
classes" -version $flashVersion -trace $traceOption -frame 10 -mx -
out "$TM_SWF_OUTPUT" -swf "$TM_SWF_INPUT" "Main.as" )
echo "COMPILE RESULT $complieResult";
whereas
FILELIST=$( ls $HOME )
echo "FILELIST $FILELIST";
works as expected.
Can anyone point me in the right direction?
Cheers,
Simon
In BBEdit, TeXShop, Xcode, and I expect several other editors, one
can double-click one half of a pair of delimiters (e.g., braces,
brackets, or parentheses), the editor will find its other half, and
then it will select the delimiters and all the text in between. I
noticed you can't do this in TextMate. Looking through the help, I
noticed that you can do this by placing the cursor in the right place
and typing cmd-shft-b, but it is much easier to double-click to get
the same result. This has also been requested in the wiki, but I
couldn't find a response -- is something like this planned? If not,
consider this another request for this feature. :-)
Thank you,
-- Gary
I like to comment long spans of code thusly:
if (a_reason) {
for (whatever) {
while (something) {
... some code
} // while (something)
} // for (whatever)
} // if (a_reason)
I can't seem to find a way to tell TextMate that having comments after
the closing brace is okay.
I've tried variations on:
foldingStopMarker = '\*\*/|^\s*\}|^\s*\}.*';
to no avail. TextMate won't un-indent the brace.
Any help appreciated.
Regards,
JJ
---
Help everyone. If you can't do that, then at least be nice.
If I try using the "Generic word completion" of the Latex bundle, the error
/bin/bash: line 1: /Macros/LaTeXcomplete.pl: No such file or directory
is inserted into the text of my document.
I tried looking at the function in the Latex Bundle, but it seems to
be just a wondow with "No Macro Editor available" at the top and two
ExecuteCommandWithOptions {
lines.
I'm using the latest build 906.
Could anyone explain what is wrong?
Best wishes,
Nicholas
I hope you will forgive the newbie question, but I've searched the
documentation for an answer and can't see one.
I'm trying to use the build comand of the latex bundle with latexmk.pl
I've set my environment variables to:
TM_LATEX_COMPILER = [Path to latexmk] (though I still see "success"
for building even if this path is wrong)
TM_LATEX_VIEWER = preview
Yet the pdf is not generated. This could be because latexmk requires
the argument -pdf to produce a pdf, but I don't know how to specify
that, but the build process is so short, I'm not sure that latexmk is
being called at all.
Can anyone tell me what I'm doing wrong?
Best wishes,
Nicholas
I'm creating a bundle for screenwriting and I need help finishing it.
I need your Kung-Fu.
I sent out the word once before and nothing happened, so I made a
crappy screencast and now we'll if if anything comes of it.
Info here: http://ollieman.net/?p=80
screencast here: http://ollieman.net/files/screencast.mov
> Likely mtasc writes the output to stderr instead of stdout. You can
> redirect stderr to stdout using 2>&1, so the command would be:
>
> complieResult=$( mtasc 2>&1 -cp "$TM_MX_CLASSES" … )
This should get you the error output nicely formatted for HTML:
mtasc -cp "$TM_MX_CLASSES" -cp "$TM_CLASS_PATH" -cp
"$TM_CLASS_PATH/FP8" -cp "$PROJECT_DIR/src" -cp "$PROJECT_DIR/
classes" -version $flashVersion -trace $traceOption -frame 10 -mx -
out "$TM_SWF_OUTPUT" -swf "$TM_SWF_INPUT" "Main.as" 2>&1 | grep
characters | grep -v warning | perl -pi -e 's/^(.+?):(.+?): characters?
(\d+?)(?:-\d+)? : (.*)$/<a
href="txmt:\/\/open?
file=$TM_PROJECT_DIRECTORY$1&line=$2&column=$3">$1:$2: $4<\/a>/g'
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 2256-1022
ben(a)incomumdesign.com
http://www.incomumdesign.com
Glad to see you back on deck! But the important textmate question is....
How was the skiing at Val Thorens? Good snow? Lift cues?
Hope you had a great break!
cheers,
tim
You must be dreading your inbox ;-)
I just spent about 2 hours "customizing" the LaTeX bundle to include
some of the "snippets" and templates that I used to use in TeXShop's
editor. After quitting and restarting TextMate, I noticed that at
least two of my templates have disappeared, the order of my snippets
and templates has changed, and the modifications I made to the
"Filter List..." in the Bundle Editor have all been reset, that is,
all the bundles that were unchecked in the filter have been checked
again and now show in the editor. Is this a bug or something that I
am doing wrong?
Thank you,
-- Gary L. Gray
I know that TextExtras is not supported in TextMate (a Google search
returned a few places that indicate this), and with the exception of
one feature, that hasn't been an issue for me. One thing that I
really do miss from TextExtras though is the "indent wrapped lines"
setting. Is this something that is on the list of things to be
implemented in TextMate?
Regards,
-- Gary L. Gray
P.S. I am new to TextMate and this list -- if this is not the
appropriate place to post queries such as these, please let me know.
I am doing a bit of Scheme-programming and have spent a few hours
trying to make TM understand Scheme syntax in a feasible way. Syntax
coloring is no problem since I can do recursive patterns (via
includes). However, I cannot find a solution to indentation. What I
have is a rule that creates a new scope called "expression.scheme"
for each nested expression, for example:
(if (= a b)
(+ c 1)
(+ d 2))
where 'c' (as well as 'a', 'b' and 'd') has the scope "source.scheme
expression.scheme expression.scheme".
So, this is my suggestion:
How about making the pattern matching engine scope-aware, so that I
can match beginning and end of scope? I believe having that would
make it a breeze to get indentation to work okay with Scheme, just
make a preference tied to scope "expression.scheme" and tell it to
increase indentation at the beginning ot the scope and decrease it at
the end. Each nested scope would then automatically add an
indentation-level, which is what is needed to indent right. (And
while I'm at it, to be able to set folding at the beginning and end
of scopes would also be awesome... :))
I don't think it is possible to do proper indentation for Scheme
without some new feature, but I could be wrong. Anyone have an
alternate solution? Please tell me.
Anyway, thanks for an outstanding product!
/M
--
Mikael Säker <mikael(a)sicher.org>
http://www.sicher.org
"Strangers have the best candy."
whoha!
I just wanted to do some xml-wrangling with TM and opened my usual
accounting file which contains ca. 6000 lines of xml.
I work with it all the time and never experienced any problems.
except for right now, when i did a search and replace with regular
expressions, just simply remoing all line-breaks, ie. replacing '\n'
with nothing.
TM has been maxing out the CPU for ten minutes now (Dual 1GHz G4) and
doesn't let me do anything. I've got ca 15 projects open and am
praying that they're saved.
How can this be avoided in the future? is TM really only usable for
small files such as XHTML templates or code? that'd be a real shame...
can anybody shed any light on this or give some advice, what other
product to use for the 'heavy lifting stuff'?
best regards,
tom
Hello,
I've tried searching the list, but I didn't find anything about
this. I've had this problem for a long time now and I figured it
would get fixed, but maybe I'm the only one having the problem.
When I'm editing HTML/PHP pages and I switch to my web browser,
Safari, to refresh and view my changes, then when I switch back to
TextMate I lose my place in the text area. It acts like it reloads
the file when I switch back to it. The carrot moves to the beginning
of the line, and most of the time the whole text area will scroll
down one line. Usually when this happens there is a 2-5 second lag
before I'm able to start typing.
It's very annoying. Is anyone else having this issue?
Hi all,
Been lurking for a bit and have finally come upon a situation where i
need some of TM's more advanced features, if anyone can offer some
pointers on the following - it would be greatly appreciated.
I need to:
surround a selection with some additional text ie 1,2 becomes [1,2]
after selecting the 1,2
on the line with the carat, trim any excess spaces from the end of the line
Any pointers appreciated,
Nik
Hi,
Just wondering what do you get when you buy a textmate licence, in
terms of upgrades.
Are you entitled to all the point releases, e.g. 1.4 -> 1.5 but not
major release like 1.5 -> 2.0.
Also will textmate work with the new Intel Macs?
Thanks,
Andy
Folks;
Looking at the templates the Python folks have in TextMate, I think
Ruby should have similar items in place.
Is anyone already working on this, or should I endeavor to add it?
Thanks,
-Chris
(Newly converted TextMate zealot :)
--
Chris Patti --- Y!: feoh -- AIM: chrisfeohpatti --- E-Mail: cpatti(a)gmail.com
"The greatest dangers to liberty lurk in insidious encroachment by men of
zeal,well-meaning but without understanding."-- Justice Louis O. Brandeis
(Olmstead vs. United States)
Hey all,
i'm new to TextMate and i wonder if it's possible to change the
default ruby used when doing :
Automation > Run Command > Ruby > Run script
because i've severall rubys installed the one given by "which" being :
/opt/local/bin/ruby
but TextMate uses the latest :
/usr/local/bin/ruby
(notice my PATH is setup such a way to get the wanted "/opt/local/bin/
ruby")
then, how to setup TextMate in order to get "/opt/local/bin/ruby"
otherwise my scripts aren't working because of dependencies.
best,
Yvon
(1) Is there any shortcut to insert an image? Especially one that
finds the path and dimensions?
(2) Same as above but for Flash objects?
(3) How do I pull up the color picker so I can choose a hex code?
Thanks!
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
Hi all,
jEdit has a plug-in for its HTML/XML mode that automatically closes
the current markup block. For instance, if you have this:
<html>
<body>
<h1>
And then you hit the hotkey, "</h1>" will be inserted automatically.
I thought I remembered reading something in the TextMate manual about
an identical feature, but I can't find it now. I know that there's an
"Insert Open/Close Tag (with Current Word)" command, but that's not
quite the same.
Thanks,
Trevor
Hi,
I found a bug while going through Why's (Poignant) Guide to Ruby.
Whenever you type the following string of characters in Ruby mode:
"#<#{}#{
if you follow up with a '}' (just the right bracket), you end up with
}"}#}<}#}{}}#}{
If you do it in a piece of text, it garbles up your entire file,
adding a right bracket after every single character, making your file
look like this:
}#} }T}h}e} }g}u}t}s} }o}f} }l}i}f}e} }f}o}r}c}e} }w}i}t}h}i}n} }D}w}
e}m}t}h}y}'}s} }A}r}r}a}y}
}c}l}a}s}s} }C}r}e}a}t}u}r}e}
} } }
} } }#} }G}e}t} }a} }m}e}t}a}c}l}a}s}s} }f}o}r} }t}h}i}s} }c}l}a}s}s}
} } }d}e}f} }s}e}l}f}.}m}e}t}a}c}l}a}s}s};} }c}l}a}s}s} }<}<} }s}e}l}
f};} }s}e}l}f};} }e}n}d};} }e}n}d}
This bug appears both in r847 and the latest r906.
Regards,
Frederik