Hi there,
Taking a dummy example string like:
KIBRA
C/T
T/T
C/C
Questions
1/ Using the keyboard, how do I make a zero-width column selection at the
last position for each of the bottom three lines? The manual suggests that
holding option-shift while moving (arrow) from the top to the bottom lines
should do it, but this doesn't create the right selection for me, and when I
push option, the selection is not converted to a zero-width column cursor
(nothing happens).
2. Can I type at the end of each line (given that the lines end on different
columns)?
_______________
''The people shall not be deprived or abridged of their right to speak, to
write, or to publish their sentiments; and the freedom of the press, as one
of the great bulwarks of liberty, shall be inviolable.''
James Madison
Annals of Congress 434 (1789).
Hello!
My TextMate has been malfunctioning lately and I've been unable to repair it.
I've tried reinstallning and purging all settings I could find, but no
difference.
Here's what doesn't work:
* Creating a new file in the project drawer (nothing happens)
* All of the popup windows (for HTML validation etc) are totally blank
Any ideas on how to troubleshoot this?
Thankful for any help,
--
Christoffer Sawicki
http://vemod.net/
If anybody is used to the // {{ and // }} folding in vim and wants the same
in TextMate you can use the following language config to do similar things
with Ruby.
#begin ten
=begin
This is inline documentation
=end
def ten
10
end
#end
The following will create a fold between #begin and #end as well as add a
fold for =begin/=end comments.
Add the following two lines to your Ruby language file in the
foldingStartMarker section . . .
|begin
|=begin # line 1
|[#]begin # line 2
|for|while|until
and these two to your foldingEndMarker section . . .
| ^ \s*+ [}\]] \s*+ ([#].*)? $
| [#] .*? \(end\) \s*+ $ # Sune's special marker
|^=end$ # line 1
|[#]end$ # line 2
)';
Hope this is helpful.
'njoy,
Mark
--
Cropp's Law:
The amount of work done varies inversly with the time spent in the
office.
Hello everybody.
I added some functionality to my cocoa-completion command. It will now
show context based completion suggestions when the type of the reciever
can be deduced. If it can not find a method based on class, then it will
revert back to the old behaviour giving you all possible candidates. The
command currently only gives context sensitive information for AppKit and
Foundation.
Here are the two cases that give context-sensitive suggestions: (^ is the
caret) hit alt-Esc as usual.
[NSString someClassMethod^]
[[object pathWithComponents:myArray]
instanceAndClassMethodsThatWorksOnAString^]
Due to a bug (that crashes TextMate) that I have not managed to track down
I have restricted the functionality, so that one always have to type
atleast one char before completions are available.
The command uses methods from rubycocoa
(http://rubycocoa.sourceforge.net/), so be certain to have that installed
and that it can be reached from the standard ruby interpreter (or change
the she-bang line in the command).
If you like this version of the completion command, then please tell me
and I will switch the one in svn to this.
Joachim Mårtensson
I have recently switched to a mac. And I tried re-installing ruby from the
default 1.8.2. To 1.8.4. I followed the install instructions from
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger.
Everything from those instructions seems to install fine. But now textmate
doesn't know where ruby is..
it's weird.. if I run ruby from the command line or irb it works fine.. But
textmate compains about not finding it. (when using the Subversion bundle).
Textmate says it's searching all these different directories (one happens to
actally have ruby in it). but Textmat still can';t find it..
on other thing I noticed.. is that if i do a >>whereis ruby<< it doesnt show
anything.. I'm thinking that's the problem but how do I fix it..
any ideas?
thanks all.
I've recently installed the CTags bundle and can't get it work
correctly. I first installed the bundle, downloaded, built, and
installed Exuberant CTags (into /usr/local/bin). When I ask the
bundle to update all tags, I get a "ctags timed out" message and it
fails to find any tags (i.e., look up of a tag fails).
Any suggestions?
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
Hello all
I am new to Textmate and this list but so far really impressed by the
program and the people posting here. My background is in molecular
biology and I will mostly use TM for text (MultiMarkdown is appealing
to me) not so much code.
Although I am slowly making my way through the manual I have not found
anything that would allow me to compare two textfiles and highlight
changes between them. "Diff" is not what I am loooking for because it
is based on lines. Writing manuscripts I don't use carriage returns so
a single difference in a paragraph will highlight the whole thing not
just the difference only.
FileMerge (in the Apple developer tools) is much closer and also
visually intuitive, but getting long in the teeth and having
difficulties with UTF-8.
Is there a Textmate bundle that will do this kind of comparison for me?
My sincere apologies if this question has been answered already,
Christoph
Hi all,
I've only recently started to use TextMate, and I'm doing what you
all did in your first week... implementing the Emacs commands I can't
live without :-)
I noticed that there is no Emacs kill-sentence support, so I
implemented it:-
http://fommil.me.uk/Emacs%20Sentence.zip
Including the commands to cut from the cursor to the end of the
current sentence, and navigate back/forward sentences.
Emacs defines a sentence (with one space after the fullstop) as
[.?!][]\"')]*\\($\\|\t\\| \\)[ \t\n]*
but I edited that to use extended regexes and count colons. Emacs
also cheats and uses a bunch of other special tests for paragraphs
without a fullstop etc, so I included that too
[.?!:;][\]"')]*\s+?|$\s*?$|\Z
which is unfortunately hard-coded into all the macros as I didn't
know how to create a bundle-wide constant.
There is a little bug which means if you navigate back on the first
sentence in the first line of a file, you will be off by one. This is
such a small bug that I can't be bothered to fix it, although I'm
open to suggestions for fixes.
I bound navigation to alt-left/right (as I use ctrl-left/right for
word navigation) and kill-sentence as alt-k (same as Emacs). shift-
alt-right will work as expected, but I do not know what to do about
shift-alt-left; I'd like to hear any hints on how to get that to work.
cheers,
Sam
--
http://fommil.me.uk
Yes! Thats it...but what about the other Tags? Like Code, Quote, Img
and so on? I think you really should add this feature to your bundle!
I like the thing that the Bundle takes the text for the URL from the
pasteboard! Good Job.
> BTW, you better follow Jacobs' advice about "Edit in TextMate" than
> "paste the text back".
I know that i can do it this way, but as i mentioned earlier i'm
working as a writer for a board so i have to write some quite big
posts BEFORE i upload them. You know i have to do some research and
so on. I already know that Edit in TextMate is a really good feature
- believe me. But sometimes i have to write in TextMate, save it on
harddisk and then just paste it back in the browser. Writing these
Posts with TextMate is just more fun, than this little stupid editor
which comes with the Browser Software like vBulletin and phpBB.