On Thu, Oct 23, 2008 at 2:56 AM, Jesse Aldridge <[EMAIL PROTECTED]> wrote: > > A feature I've found myself missing in Leo is hitting shift+tab to > unindent the selected lines. Is there a way to enable this?
Leo has an unindent-region command that you can bind to any key. But none of Leo's commands are likely to work at present in the QScintilla body pane because the widget expects byte offsets and Leo can only provide character offsets. The Qt people have provided new calls to handle this problem, but there is no easy way to get access to their fixes until an official version of Qt comes out. > I'm using the qt branch currently, and I see that hitting tab when > multiple lines are selected indents all of them, but hitting shift+tab > for the reverse doesn't work. At present the qt plugin passes <tab> directly to the QScintilla widget. I'll play around with special casing <shift-tab> as well. It might solve the problem that <backspace> only deletes a single space. Edward --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
