1) If I put the cursor at the front of a collapsed, folded section and
press tab, I expected (and desire) it to be the equivalent of
performing a Shift Right on the entire fold.
2) (more controversial, perhaps) if I select a few lines, starting in
the middle of the first line, I expect/desire Shift Right and Left to
apply to the start of the line where the selection starts, not to
insert tabs in the middle of it.
In the following example, | marks the start and end of the selection:
class Foo
def bar
puts "That's gre|at it starts with an earthquake"
puts "birds and snakes and aeroplanes"
puts "and Lenny |Bruce is not afraid."
end
end
This selection is because I was in the middle of the word 'great' and
performed shift+down arrow twice.
When I Shift Right, it should do this:
class Foo
def bar
| puts "That's great it starts with an earthquake"
puts "birds and snakes and aeroplanes"
puts "and Lenny Bruce is not afraid." |
end
end
And not this:
class Foo
def bar
puts "That's gre |at it starts with an earthquake"
puts "birds and snakes and aeroplanes"
puts "and Lenny |Bruce is not afraid."
end
end
A workaround that I suppose I could get used to is to perform Select
Line after selecting the text, before shifting...but that should happen
automatically. (As noted in the example, the act of shifting left/right
should not only affect the entire line, it should also select the full
lines.)
Operating in rectangular selection/column mode is a different story,
but doesn't change how it should (IMO) behave in this case.
--
(-, /\ \/ / /\/
hi....switching from tab to tab in textmate leads to a recentering of
each page on the cursor...is it a feature or a bug?
if it's a feature it would be cool to be able to switch it off on a
user preference basis .... i find this terribly annoying cause that
prevent me to scroll a text to see a portion of code, and then to
switch back and forth ....
i also have this undo stack disappearing ....
very strange
keep up the good work...textmate rocks
thanks
Hi all,
With window splitting implemented, I may consider switching from
emacs. One thing that gets me though is that 'Set Mark' does not seem
to work properly. I use this all the time to select a block of text
without having to hold down shift. "setMark:" is set in my Default
Key Binding, yet I get the blip of unknown command from TextMate when
I try to use it. This works great in TextEdit, btw.
What do other people use to select text without using the mouse? I
could hold down shift, but then that blocks me from using my other
bindings (^p and ^n for line up and down respectively). Is shift and
the arrow keys the only option?
Thanks,
Wayne
From the release notes :
> Changed default key binding for “select line” to option-shift-l.
Hopefully TextMate now sucks less in Germany ;)
Yeah, but now it does in France !!
Dominique PERETTI
http://www.lachoseinteractive.net/
Backdrop Folders : Open "views" of your folders at desktop levels and
interact with them
(http://www.lachoseinteractive.net/en/products/backdropfolders)
Heres another idea which Im pretty sure would satisfy my original
comment. Currently TM inserts the closing character of the pair at the
same point as the user types the opening character, if on the other
hand it waits for one more key press before deciding whether to insert
the closing part of the pair, it could perhaps make a better guess as
to whether that is what the user wants. For example; moving the cursor
could be construed as a cancelling operation, so the closing character
would be omitted if the user simply pops back to add a quote character
to the start of a word and then clicks somewhere else in the document
(or uses the arrow keys), whereas simply continuing to type after
pressing the opening character would be construed as a confirmation and
the closing character inserted as it is now.
so what im saying is: wait to see what the user types next, and then
decide whether to insert the closing part of the pair.
does that make sense?
Chris
I'm not sure if this relates to my system or a particular (undocumented)
tweak in the latest build, but all the outstanding text peculiarities
have cleared up.
For example, in ProFont 9pt anti-aliased I was seeing a lowercase 'L'
being represented at double thickness (2px). This has all gone, and it's
*beautiful*.
Along with all the other visual tweaks in the latest build, TextMate is
really sweeping me away.
My dollars are going down today. New customer.
drew.
I like being able to start a new document from a template when you are
working in a project, but it would be nice to have that feature when
you are not working in a project.
- Juan
Not sure if this has been suggested before (or even if it already lies
hidden beneath the sleek exterior of TM and I'm just an idiot), but I
would like to be able to shift-click or alt-click on a fold to select
all contained text rather than expanding or collapsing the fold. This
can then be used for drag/drop, copy/cut and paste and, most
importantly for me, search and replace criteria, i.e. allowing me to
use search within selection to quickly do replaces within a single
defined function or other logical block.
A further possibility, which may be a step too far, is to use shift-alt
click to select multiple, non-contiguous, folds though I suspect that
this would be too confusing and not useful enough. Views?
Thanks again for a great product.
Cheers,
James
Yeah, that's what I figured, in fact the more I think about it, the less
simple it seems to become!
Its one of those classic software problems, in making something "smart"
there are always occasions when its not so smart. Perhaps Ill just get my
friend to adjust her typing style.
> "only surrounded by white space" doesn't work -- consider something
> like $foo[' which smart typing should match with '] automatically, yet
> neither the [ or ' are surrounded by white space.
>
> "only FOLLOWED by white space" is a bit better, but still doesn't work
>
> "only surrounded by white space or other smart typing pairs" is a lot
> better
>
> ... but I think in practice, it will take a lot of thinking before a
> real solution is found... no quick patch here :)
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
hi,
i found something quite annoying and possibly dangerous.....when
editing a script its very usual to delete a block just to see what
happens....but hitting the Apple-S seems to kill the undo list
sometime...
can't get this behavior repeated each time....
weird