In order for the system caret to move with pageup/down, I use this in my Keybindings file
"\UF72C" = "pageUp:"; / * Page Up */ "\UF72D" = "pageDown:"; / * Page Down */
This works all and well, but is it possible to get smooth scrolling with it to? If i remove these lines, I get smooth scrolling but the caret won't move (actually, textpad gives smooth scrolling).
Also, I'd like tab to indent/outdent lines of selected code, but
"\U0009" = "indent:"; / * Tab */
seems to do nothing (actually, it does do something, it completely disables tab in textpad).
as always, thankful for assintance
Andreas
On 31/07/2005, at 13.05, Andreas Wahlin wrote:
In order for the system caret to move with pageup/down, I use this in my Keybindings file [...] This works all and well, but is it possible to get smooth scrolling with it to?
No, currently not.
Also, I'd like tab to indent/outdent lines of selected code, but "\U0009" = "indent:"; /* Tab */ seems to do nothing (actually, it does do something, it completely disables tab in textpad).
The action method you want is shiftRight: -- but if you bind tab to that action, it'll always do a shift right, so you'll lose the ability to insert tab characters (on tab at least).
The action method you want is shiftRight: -- but if you bind tab to that action, it'll always do a shift right, so you'll lose the ability to insert tab characters (on tab at least).
That's not good either, but thanks for the shiftRight info. I think skEdit is actually the only editor I've seen on OS X to have this behaviour, am I one of the few who thinks this is the best way?
Andreas
On 01/08/2005, at 0.29, Andreas Wahlin wrote:
The action method you want is shiftRight: -- but if you bind tab to that action, it'll always do a shift right, so you'll lose the ability to insert tab characters (on tab at least).
That's not good either, but thanks for the shiftRight info. I think skEdit is actually the only editor I've seen on OS X to have this behaviour, am I one of the few who thinks this is the best way?
No, a lot do -- though I don't, since I often replace the selection with a tab, and I don't see the big inconvenience in holding down option when pressing tab (to shift right).
No, a lot do -- though I don't, since I often replace the selection with a tab, and I don't see the big inconvenience in holding down option when pressing tab (to shift right).
Oh, so that's how you do it, I have liteSwitch on option+tab so that doesen't work for me, but obviously it's my local problem then. (in fact, I have different switchers on (command, alt and control)+tab, I guess I like to switch hehe)
Andreas