-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
I'm using "Documentation for Word / Selection" of the Ruby-bundle
very extensive and so I spotted some problems.
When I load the "Documentation for a Word" with ^H (for example
"include"), then click on a Link (in my example "Module") and then
click on _any_ link, I get a white error page reading "Error: Not
Found"; but for a small moment I can see the new page was loaded. I
tried some things and after removing the following line in the
javascript function "ri" it works for me.
window.location.hash = "actual_output";
But I'm not really sure why, so please could you look into it.
There is also another problem, which annoys me. Sometimes when I
click on a link, then the new content is not displayed. Only after I
use Apple+A to select the hole text, the new page appears.
It appears to happen when the new content is smaller then the old
one, but I'm not really sure. Could you please check this too.
Thanks in advance,
Simon
- ----
> privacy is necessary
> using http://gnupg.org
> public key id: 0x6115F804EFB33229 http://ruderich.com/
simonruderich.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFbKhwYRX4BO+zMikRCqdnAJ9GeunV5vm0S467pZLtdTm60zGgogCdHL9D
7FmARF9yVRxo7zQeiHsRrs8=
=daNX
-----END PGP SIGNATURE-----
I've read the documentation and done some searching and haven't found
the answer to this.
For shell init scripts and various other purposes, I'd like to be
able to "type" characters like ⌃[ or ⌃G. You know, the kind of
thing you would precede with ⌃V in the Terminal. It seems that Cocoa
has a key binding for this (NSQuotedKeystrokeBinding, which is ⌃Q by
default), but it is used for another purpose in Textmate. Has the
functionality been remapped or do I need to try to define it for
Textmate myself? It doesn't seem to be set…
rob@kendra ~> defaults read com.macromates.Textmate
NSQuotedKeystrokeBinding
2006-11-29 14:47:10.910 defaults[6713]
The domain/default pair of (com.macromates.Textmate,
NSQuotedKeystrokeBinding) does not exist
On a related note, I'd like to be able to "see" these characters as
well, or perhaps toggle them of and on (with ⌥⌘I ideally). Texmate
is better than most Cocoa apps, as it seems to display a space in
place of such characters instead of nothing at all, but I'd like to
know what that space represents. Has anyone tried enabling
[NSTextShowsControlCharacters][] in Textmate? I'm guessing there
would be undesired side-effects.
Should I have asked these questions before Allan took off? :)
[NSTextShowsControlCharacters]: http://developer.apple.com/
documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/
chapter_9_section_4.html#//apple_ref/doc/uid/20000468-610689
---
Rob
Dear all,
everyone knows that the number of available bundles for TM increases
steadily ;)
In the blog 'Getting More Bundles'
http://macromates.com/blog/archives/2006/08/21/getting-more-bundles/
you can read about the marvelous 'GetBundle' bundle written by
Sebastian Gräßl
and Brian mentioned:
"... What would make this even sweeter is a small summary of what
that bundle does before we download it!"
I believe the easiest way to add such a small summary would be to
include in each bundle root path a structured plain text or html
file, maybe called 'summary' or whatever.
Then it would be possible to read this file (or only a part of it if
it also includes information about author/date/...) and add this to
the GetBundle bundle dialog by using tm_dialog and a nib.
On the other hand this summary file could also be used for searching
a bundle if it contains significant keywords. It is often the case
that I need a function and I cannot find any for my purpose, so I
start to write my own code. And then after spending much time on it,
it turns out that there is already such a similar function. And I
dislike to invent the wheel twice ;)
Furthermore if I go to .../trunk/Bundles it would be possible to add
a link to a 'summary' page which is generated automatically by taking
and formatting all available summary files of each listed bundles to
get an overview of these.
Or similar e.g. to the R-project sites à la http://cran.xedio.de/src/
contrib/PACKAGES.html
Are there any comments on it?
BTW It would also be nice to have meaningful screenshot(s) for each
TM theme available at ../trunk/Themes ;)
Cheers,
Hans
I get this error:
"bash: line 1: selected_theme: command not found cat:
/Users/{myname}/Library/Application
Support/TextMate/Support/css/
webpreview.css: No such file or directory"
when running a Ruby script from Textmate (build 1324, and today's (Nov 17) SVN
checkout for the bundles).
Does anyone have a hint?
Best regards,
Erik van Eykelen
http://railsgigs.com - where start-ups meet developers
Thanks again for this fabulous bundle. A few small issues:
1) I was wondering if you could post the script you wrote in an earlier
version of the bundle for moving the date ahead a day with a keystroke. It
would be very handy for me.
2) When I go into Review--> Current Actions mode, there are check boxes
("Mark") next to each item. If I check one of these, how go I get it to sync
back to my gtd file and make the item as completed.
Thanks.
--
Lawrence Goodman
lawrencegoodman(a)gmail.com
Check out my blog: http://goodmanorama.blogspot.com
I posted the following to my blog.
Thanks in advance to all who helps out while I am gone, and thanks to
everyone who has helped in the past!
----------8<----------
Wednesday the 29th of November I am leaving for New Zealand. I will
be gone for no less than 10 weeks, so the return date is the 9th of
February 2007.
While I am gone, I recommend that you send usage questions and
similar to the [mailing list][] or use the [IRC channel][]. And for
problems, be sure to check the [self-help section at the wiki]
[troubleshooting] and skim the [table of contents of the manual][TOC]
for a potential feature you seek.
Should you have a problem with the purchase interface or similar, you
can of course still use the appropriate email addresses at the
[contact page][], as there will be someone handling this while I am
gone.
<!-- ============================================================= -->
[mailing list]: http://lists.macromates.com/mailman/listinfo/textmate
[IRC channel]: irc://irc.freenode.net/##textmate
[contact page]: http://macromates.com/contact
[troubleshooting]: http://macromates.com/wiki/Troubleshooting/HomePage
[TOC]: http://macromates.com/textmate/manual/
Hi,
I know that these items are not so simple to do but would it be
possible to
1) add line numbers to this editor?
Because it would simplify the search for errors for instance.
2) to apply syntax highlighting to this editor?
This would mean to change NSTextField to TM's window object.
Thanks,
Hans
Hi,
I'm using nightly Webkit builds, and now just noticed that "Edit in
TextMate" hack doesn't work with the builds. Does anybody have any
solution? The phrase "Edit in TextMate" is not dimmed, but if tried
to activate, it gives me an alert sound.
Takaaki
--
Takaaki Kato
http://samuraicoder.net
AIM: samuraicoder(a)mac.com
Hi,
this thread follows the discussion in
http://thread.gmane.org/gmane.editors.textmate.general/13806/focus=13806
'run script with args'
In order to be able to control the arguments and STDIN here my
suggestion:
Example for Perl:
#!/usr/bin/env perl -w
#!TMC: STDIN=cat ~/Desktop/test.txt
#!TMC: ARG=1 "2 and 3" /etc/file
#!TMC:end
print join ('-',@ARGV);
print "\n";
@a = <STDIN>;
chomp(@a);
$j=1;
foreach $line (@a) {
print $j++.$line."\n";
}
The actual command line would be: 'cat ~/Desktop/test.txt | /usr/bin/
perl -w 1 "2 and 3" /etc/file
The idea is to specify the values for ARG and STDIN hidden as
comments within the script.
If you want to test several ARGs and STDINs you can write
#!/usr/bin/env perl -w
# !TMC: STDIN=cat ~/Desktop/test.txt
# !TMC: ARG=1 "2 and 3" /etc/file
#!TMC: STDIN = echo -e "A\nB"
#!TMC: ARG = DATA
#!TMC:end
...
By doing so line 5 and 6 are active. You see to change ARG and STDIN
is easy.
Of course, you can think about to use tm_dialog with an history list
or whatever but I believe this is fast and very simple. If you forget
to delete the TMC tags while running this script from Terminal it
doesn't matter. These tags are comments.
For that purpose I add some stuff to scriptmate.rb.
Here some hints:
#parse script for arguments and STDIN pipe data given as comment(s)
#!TMC: ARG= //everything after = is interpreted as
arguments like ARG= one two "three and four" five
#!TMC: STDIN= //everything after = will be executed on
the system and piped to the script like STDIN=cat /PATH/TO/FILE
#!TMC:end //marker to cancel the parsing; the
parsing also ends if ARG _and_ STDIN are set
#
#!TMC: ... //active
# !TMC: ... //not active to have the chance to chooce
#
#known problems:
# for Perl
# piping STDIN: e.g. @a = <>; doesn't work, use instead @a =
<STDIN>;
#
Any comments?
Bye,
Hans
PLEASE forgive my Ruby syntax ;)