Hi
I'm don't know if this has been a discussed topic in any other place,
this list or wiki, but is only a short question:
are there been considered the possibility of nested snipped?
of course I suppose this, as a major change, should be supported in TM2.
The current problem is a frequent one: you are inside and snipped
"influence area" (for example a C "for") and then in it you need
another snippet.. when you use the tab you will get in the outside of
the last snippet but have loosed any outer snippet control.
--- Juan Falgueras
I have change the source of the list of paths for QuickOpen included
files. It works fine:
-----------------------------------
#!/usr/bin/env perl
# to know header paths for your precompiler do:
# echo | g++ -E -v -x c++ -
# and save the header paths as path1:path2:etc
# in the TM pref env variable TM_HEADER_SEARCH_PATHS
$hpaths = $ENV{'TM_HEADER_SEARCH_PATHS'};
$line=$ENV{'TM_CURRENT_LINE'};
$header=$ENV{'TM_SELECTED_TEXT'};
if (!$header) {
$line =~ /#\s*include\s*([<"])(.*?)[">]/;
$local = $1;
$header = $2;
}
if ($local eq '"') {
$t = $ENV{'TM_DIRECTORY'};
if (-f "$t/$header" ) {
print "$t/$header";
system("mate -r \"$t/$header\"");
exit 0;
}
}
@incs = split(/:/, $hpaths);
foreach $t (@incs) {
if (-f "$t/$header") {
print "$t/$header";
system("mate -r \"$t/$header\"");
exit 0;
}
}
print "";
exit 1;
-----------------------------------
Juan F.
Hi All,
I know this has been asked before (by me) and that it probably has more
to do with the status of work in Movable Type itself, but I was
wondering about work towards getting Movable Type categories to work
with either of the textmate blogging systems...
Andrew
* Moved token file into ~/Library/Preferences
* Fixed error checking on search function
* escaped search string to fix "spaces" bug
* added proof-of-concept command for hotlinking a thumbnail to
original/large size image
* minor tweaking and cleanup
If you're blogging and using Flickr, let me know how this works for you!
Thanks,
Brett
I’ve just released version 0.5 of BlogMate. This release adds a few
fixes for Movable Type blogs and adds support for posting to Twitter
from BlogMate (without requiring command line PHP or anything insane
like that).
<http://www.ditchnet.org/wp/2007/04/22/twitter-from-textmate-with-
blogmate-05/>
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us
Is there currently any type of command/etc to get the character count
in current doc or selection?
I see the command in the Text Bundle 'Statistics for Document (word
count)' but this doesn't report the char count...
thanks!
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us
I've been playing with the Flickr API. The ruby wrapper needed a lot
of work and I've only begun tweaking it, but here's the start for
anyone who's interested. It allows you to insert an image tag for an
image from either a specific photoset or from a search of your own
images. It uses simple popup dialogs and if you have a ton of images
in a result set (100+), might be a little awkward. Each command lets
you choose from the available sizes for each image.
You need to run the authorize command first, which will open a
browser window to authorize the bundle. Then return to TextMate and
confirm the dialog and it will write a token to the bundle
directory. As I'm writing this, I'm realizing I should probably put
that somewhere else, but it works for now.
I'm thinking about eventually making an image browser, but it would
be slow so I need to think about caching the files, and at that
point... I have to figure out if it's worth the time. The goal is to
make it simple to insert Flickr images in your blog posts, so we'll
see where it goes.
I'm semi-new to the whole textmate thing and loving the bundles,
however i seem to have had a cracking idea which could speed up our
company's development no-end.
What i plan on doing is coding a script in preference this would sit
somewhere on our server so it could be easily globally updated. This
script would ask a few questions and then generate a zip file or a
new folder in the repository, not sure which yet. The wish then is
to take these files and plonk them into a project. Now im pretty
sure the way to do this would be to pass back to the script that
opened the browser window some sort of reference. Do you guys (and
girls) know of a way to either a) post something back into a script
after a window has opened or find out the url of a web window when it
closes?
Many thanks.
Lawrence
I'm getting the following when trying to convert to pdf.
Couldn't find htmldoc
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Markdown.tmbundle/Support/bin
/Users/normanjenson/Library/Application Support/TextMate/Support/bin/
CocoaDialog.app/Contents/MacOS
/bin
/sbin
/usr/bin
/usr/sbin
/usr/local/bin
/Users/normanjenson/Library/Application Support/TextMate/Support/bin
I'm trying to convert php pages to something readable and then create
a pdf document. I drag the php page to a blank markdown page and
then try to convert to pdf. Also if I had a number of pages and
wanted page breaks between them in the pdf can anyone tell me how to
do it.
Thanks in advance for any help.
Norm