Hi,
This is a first post so if this isn't the right place or I didn't
search well enough, please let me know.
I know you can select the contents between brackets with
command-shift-B. However, this is the same key sequence that was
select for breakpoints when coding in Ruby.
I realize I could customize any way I want, but I figured I must be
missing a fundamental way or working in TextMate if this key option
was used for two different operations. Is there an easy trick to get
the one I want?
Thanks,
Mark
>I've been playing with the flex bundles for a while now. It looks like there are lots of different ways of building Flex at this
point. I've been using rake:
>http://theblogthatnoonereads.tunasoft.com/2007/04/29/building-flex-on-rails/
Yes, there's a lot of ways to invoke mxmlc/compc. Ideally I'd like to see just one build and one run command in the
ActionScript 3 bundle but don't want to impose a particular method. Currently there is:
mxmlc
Ant
fsch (A wrapper for mxmlc which caches the build in RAM and dramatically speeds up compilation - on my current project
mxmlc takes 20+ seconds, with fsch this comes down to 4-5 seconds)
Shell - project specific custom file.
I'd imagine that we could quickly add rake and yaml to the equation too. Does anyone have any suggestions of a way to handle
this? Would it be best to add the various build methods as templates then check for custom build scrips within a TM project
before defaulting to a basic build? Are there any other bundle developers who've solved a similar problem?
Cheers,
Simon
Hi-
I really like the handy getBundle bundle... but it's been giving me some
trouble. I've upgraded my own version of svn to 1.4.3. Unfortunately,
this is backwards-incompatible with getBundle's internal version, which
is 1.3. Since I've updated some of my bundles -- and the support folder
-- by hand, it's used my newer version, but then getBundle's svn can no
longer update them.
Perhaps getBundle should probably use the local svn if that's possible?
(Indeed it only uses the local svnversion, which will also cause a
mismatch.)
Yours,
Andrew
Hello,
I started using the GTDAlt bundle and I wrote a Quicksilver action in
applescript to append text to my inbox.txt. I know I can just use
Quicksilver's append text but I wanted to write something custom. The
problem is it is adding invisible characters between every letter.
Any ideas why?
Here's my script:
using terms from application "Quicksilver"
on process text theText
set this_file to (((path to desktop folder) as text) & "GTD:" &
"inbox.txt")
my write_to_file(theText, this_file, true)
end process text
end using terms from
on write_to_file(theText, target_file, append_data)
try
set the target_file to the target_file as text
set the open_target_file to ¬
open for access file target_file with write permission
if append_data is false then ¬
set eof of the open_target_file to 0
write theText to the open_target_file starting at eof
close access the open_target_file
return true
on error
try
close access file target_file
end try
return false
end try
end write_to_file
Warmest regards,
Graham English
Hi,
My File -> Open Recent menu item has stopped working. I click on an
item and it doesn't open. The File menu stays highlighted until I do
something else, and the document just doesn't open.
Does anyone know what would cause this?
Thanks,
James Frost
Hi,
I'm every so often on another location where i work on two screen's.
The only thing i always need to adjust once is to drag the symbol
window to the screen where the main textmate window is.\
Is there a config thing i can set, or is it a feature for TM2 ?
ps: the other windows (goto file, bundle editor, etc) also come in
the wrong screen
Regards J.
Hello there!
I just wanted to tell you that the GetBundle has now it's own page
and will get some improvements like turning it into a Plugin(maybe).
The new site can be found at http://projects.validcode.net/getbundle
Sebastian
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i have a small problem with the Latex Bundle. When using Typset & View
the popup window immediately closes after compile, if no error is
thrown. If a warning is displayed, you can only see that there are
warnings happening, but not where and why. Is there a possibility to
have the windows stay on screen in that case?
Bundle Version is... today.
Greetings
Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGImiC8RlGMqQ8m7oRAi2JAJwNnScqERFZMoJwpj/OZ7iwQ0azYgCgih+3
V086jilrx9abBJEFXvBevY4=
=BJt/
-----END PGP SIGNATURE-----
Hi!
I'm new to TextMate - and so there came up some questions which I've
gathered here. Thanks in advance for any tip!
Bye, Tom
How can I open the file at the cursor directly from inside the editor?
Can TM hilight the matching brackets? (I'm using "pastels on dark"
color scheme; if thats important...)
How do I make the cursor follow when I've scrolled some pages with
Ctrl-CursorUp/Down? "Standard-behaviour" is that the cursor stays
where I've started.
How do I find the next match (for the same criteria) when searching
incrementally with Ctrl+S?
Is there a simple calculator in TM?
I prefer bookmarks that I can access directly, e.g. something like ^1
for line 40, ^2 for line 88 etc - instead of F2. Can I have that with
TM?
Hi!
Skim (skim-app.sourceforge.net), a very neat and free pdf-viewer
supports now pdfsync and they set up a wiki with some instructions
how to enable Skim as viewer for pdfsync in Textmate. But I think the
instructions are more complex than they should be.
The site is: http://skim-app.sourceforge.net/wiki/index.php/
LaTeX_and_PDFSync
Isn't it even in the standard-install of TextMate only necessary to
set the Shell Variable TM_LATEX_VIEWER to Skim?
Niels
I fully expect someone to point out that this already exists :)
I typically move between tabs using Cmd-Opt-Left and Cmd-Opt-Right.
Typically I try to arrange the tabs so that the set of files I'm
actively switching between are adjacent. If Cmd-Opt-Ctrl-Left and Cmd-
Opt-Ctrl-Right moved the current tab to the left or right I could re-
order the tabs as part of navigating to a different tab just by
holding Ctrl down.
Say I have four tabs:
[*F1*] [ F2 ] [ F3 ] [ F4 ]
I'm on F1 and I want to go to F3. I'd also like F1 and F3 to be
adjacent to each other because I'm going to be switching between
them. So Cmd-Opt-Ctrl-Right does
[ F2 ] [*F1*] [ F3 ] [ F4 ]
and then Cmd-Opt-Right does
[ F2 ] [ F1 ] [*F3*] [ F4 ]
--
Andy Armstrong, hexten.net
Hi!
Firstly, Textmate is a fantastic text editor! I use it all the time,
and it constantly amazes me with something new and clever :-)
Anyway, I would like to either request a new feature, or ask if
anybody has an idea how/if it could be scripted as an automated task?
Essentially I'd like to be able to set, on a per-document basis, the
ability to have the document automatically save itself every minutes.
Today, my macbook crashed, and I lost a fairly big chunk of an essay.
It may actually be better if a way could be suggested to simply
automate a task every n minutes - that way, I could have Textmate
automatically commit a document to my svn/bzr repository! That'd be
great!
So... is this possible? Any help would be greatly appreciated.
Thank you!
James Frost
Is there a way to send a value to ${TM_BLOG_TITLE} through
applescript in the TextMate blogging bundle?
I'm thinking about creating a Quicksilver action that can use the
text from Quicksilver to fill the title of the blogging HTML template.
Thanks,
Graham English
Hi. My name is Tyler - I run Snipplr.com. (Allan blogged about us last
summer.) I'm working on an updated bundle for Snipplr, and was
wondering if anyone would be interested in helping me test it?
(BTW: For the rest of this message when I say "snippet", I'm referring
to a snippet stored on Snipplr, not a TextMate snippet.)
I ask because I'm doing some strange stuff with it. Previously, I was
sending a request to the server each time the user requested a
snippet. This new version syncs your snippets and favorites directly
into TextMate's bundle menu - giving you offline access to all your
code stored in Snipplr.
To do this, I'm generating the TextMate bundle on-the-fly using PHP on
the server - so each user's bundle is customized for their account.
I'm creating the tmSnippet's, tmBundle's, plists, etc.. It's also got
an auto-update feature to keep the bundle's snippets in sync.
So far everything is working. I need to add code to make it handle
errors gracefully and also to check the integrity of the bundle before
it installs an update of itself.
Any feedback on how I can improve the way I'm doing this would be
greatly appreciated.
More info about the new bundle (and how to get it!) is available here:
http://blog.snipplr.com/2007/05/09/new-snipplr-textmate-bundle-beta/
Thanks :)
first of all, you're doing a great job on the as3 bundle !!
*) why is the scope selector of the build and other commands
source.actionscript.3 , while in the language file the scope is
source.actionscript3.
When trying to build, the shortcut won't work. With scope selector
source.actionscript3 it does.
herewith a delta file .
*) that when you checkout the actionscript 3 bundle you get the following error
svn co http://macromates.com/svn/Bundles/trunk/Review/Bundles/ActionScript\
3.tmbundle
svn: Can't convert string from 'UTF-8' to native encoding:
svn: ActionScript 3.tmbundle/Commands/Insert Color?\226?\128?\166.tmCommand
greetz
Joachim
---------------------------------------
http://4d.ratubagus.net
Hello everyone,
I live in the latex bundle, but this feature request may be relevant
to others. I would like to be able to move blocks of text in the
latex file by simply moving corresponding headers in the "Go to
Symbol" sidebar. This would replace my need to use OminOutliner to
organize material. (There seems to be no satisfactory way to port a
Latex file from TextMate into OmniOutliner without a great deal of
hand work.)
A related feature request would be a Latex logic checker. No matter
how we move blocks around, we may wish to check that the references
maintain their logical ordering. It would be nice to have a command
to do this for us, especially for long documents. I am no
programmer, but I imagine this should be easy to do -- find each \ref
that occurs before its \label.
Cheers,
Jenny
____________________________________
Jenny Harrison
Professor of Mathematics
University of California, Berkeley
851 Evans Hall
Berkeley CA 94720-3270
Tele: 510-642-9666
Fax: 510-642-5270
Email: harrison(a)math.berkeley.edu
Web: http://math.berkeley.edu/~harrison/
This is a repeat of a comment I made on the latest TextMate blog post[1].
I remember some discussion on the list about the Subversion menu, but I can't find it.
The command that I always want for Subversion is Diff with Newest. Why is that the second option? The CVS bundle has it as the first option. Do people really use Diff Revisions that often?
The diff commands start at the eleventh position in the menu and so don't have number shortcuts. They also all start with 'Diff', so pressing 'd' only jumps to the first command.
[1] http://macromates.com/blog/archives/2007/05/06/textmates-many-key-shortcuts/
Hello.
I don't know who is responsible for the indentation of Perl buffers
(textmate author or bundle author?) but there is a problem with
structures of the kind:
###
my $teste;
$sth_comments->bind_columns(
undef,
\$journalid,
\$jtalkid
);
my $teste2;
###
This is correctly indented, according to the Text->Indent Selection
command.
But I was expecting this:
###
my $teste;
$sth_comments->bind_columns(
undef,
\$journalid,
\$jtalkid
);
my $teste2;
###
Regards,
André Cruz
Hi there,
I use Markdown format for all of my plain text files - both to
convert to HTML for export and to help organise my files. I find the
syntax highlighting of headings and lists really helps me keep large
files organised - especially with using curly braces to 'section'
material and keep it folded away.
Is it possible to change the way headings are recognised? In
particular I would like to have the following:
## Heading 1 {
Some text in here...
}
## Heading 2 {
Some text in here...
}
## Heading 3 {
Some text in here...
}
This currently only picks up the first heading, seeing the others as
meta.paragraph.markdown, whereas leaving in line breaks:
## Heading 1 {
Some text in here...
}
## Heading 2 {
Some text in here...
}
## Heading 3 {
Some text in here...
}
Means I get all the headings recognised correctly. Both versions
above are recognised and converted to HTML correctly by the
Markdown.pl script so I presume the highlighting is down to the
language grammar? I looked at it and tried to change it myself but
broke all the other formatting as well so think I need some
professional input on this one!
I know its not a life-changing query but I'd like to understand the
language grammar stuff better and this looks like a good starter
project!!
Thanks,
Nigel
Hi,
Within the time constraints, I've done what searching I can through the
docs, wiki, and mailing list archives to get a personal markup bundle
working. Thanks to the clear documentation and a lot of the archived posts
here, I have all the snippets and syntax coloring working. However, there
are a couple of things that I still haven't worked out, which I could use a
little help with. I apologize if they've been covered before and I missed
them. If I had more time, I'd keep searching around for the answers, but
with an upcoming deadline, I just have to get some guidance.
My bundle is called "jmarkup" and I've set most of the scope selectors to
"text." (BTW, I still don't competely get how to choose scope selectors,
despite reading that section many times.)
I'll probably do most of my writing in Latex or Markdown (or MMD), and
currently I have to go back and forth between syntax coloring for either
Latex or jmarkup.
1) Can I somehow set my scope so that I can see it colored while I'm in
Latex and MMD?
2) Could someone point me to a place explaining how I could process my
markup before the latex. E.g. So that when I hit the key combo to preview
the Latex, everything is preprocessed to replace my [[note syntax ]] with
Latex markup for left and right margin notes.
3) Referring to #2 above, could I have separate processing-replacements set
up for whether I was making an output for myself (e.g. working draft with
all notes and markup) or for my advisor (e.g. print draft without notes and
hiding my in-line styles, like "revise" or "check facts")?
4) What would the best bundle be to use as an example of how to gather all
"action" markups in to a separate document? For example, I might have a fact
that is suffixed with [!check this!] and I want to gather all lines that
have that [!...!] in them. I assume this might be similar to the TODO or
GTDalt bundles but haven't checked them out yet.
Thanks all for any advice and help. I know I've asked a lot here, but even
just pointers to where I can find the best examples of implementations of
each would really help me out.
Thanks,
Jeff
Hi all,
I've been a paid member of the TextMate-o-sphere for a couple months
now, but have just started dipping into its mighty goodness. One
thing that I've found that is not quite so good is how the subversion
plugin won't play nice with colordiff.
In my .subversion/config, I've set it up to use colordiff instead of
diff. I do a lot of my work from the command-line, so this is pretty
important for me. Unfortunately, the subversion plugin doesn't like
this. If you look here:
http://www.nuthole.com/img/tm_ss1.png
you'll see what I'm talking about. The upper half ("Untitled 705")
shows the result of me doing a "Diff with Newest (HEAD)" with my
preferred .subversion/config settings intact, while the lower half
("Untitled 706") shows the much prettier version that the subversion
bundle does all on its own if I remove my settings.
Now, I'd just accept that "that's just the way it is", except for the
fact that the bundles doesn't *always* do this. In particular, if I
bring up an SVN Log from within TextMate, and then click on a link to
see a diff in there, the resulting diff is displayed in a
TextMate-colorized fashion, apparently ignoring my .subversion/config
settings (hooray!). So what I wonder is, if the plugin can ignore my
settings and do its own colorization in one case, why can't it do it
all the time?
--
// jack
// http://www.nuthole.com
Hello.
I use TextMate 1.5.5. I came across a problem exibited by the perl
bundle Tidy command.
If the output of a command, in this case perltidy, contains chars in
utf8, all the output is discarded and we end up with a blank
document. For example this script:
##################
my $body = <<END;
Reparámos
END
############
If I run the tidy command on this file, I end up with a blank
document. Perltidy works fine though because I tried redirecting the
output of the command to a file and it's all there.
Any ideias?
Regards,
André Cruz
>Simon: How feasible is it to break this
>bundle into two parts? Will that put us ahead or behind of where we
>are with the current stand-alone bundles?
Very feasible, and the combined bundle is ahead of the two standalones... although there are points where they need to
merge/work out which solution is best.
>It sounds like most of us on on the same page, here. I think it'd be
>nice if we could agree on a single AS3 and a single Flex bundle to
>focus our efforts on so we have something to congregate around.
>Nominations?
Personally I don't mind. I'd be happy to see it broken up on the grounds that the bundle title is far far too long at the
moment ;) One thing I'd be concerned about is a possible duplication of build and help commands and their associated
TM_BUNDLE_SUPPORT/bin and lib files. But this is coming from a bundle developer perspective and we should focus on the
end user so can't be used as a reason not to.
Allan - any chance of getting a TextMate icon for .mxml files?
On 2007/05/10, Ciarán Walsh wrote:
> does env|sort ⌃R include it?
You mean if the env var is set? env will not include it since it is
set only for the perltidy command.
But just to check the value I ran __CF_USER_TEXT_ENCODING=$UID:
0x8000100:0x8000100 env|sort
This is the value set:
__CF_USER_TEXT_ENCODING=501:0x8000100:0x8000100
André Cruz