[Geany-devel] Indent width keybinding(s) / code
Nick Treleaven
nick.treleaven at xxxxx
Mon Nov 1 15:05:47 UTC 2010
On Sat, 30 Oct 2010 18:08:34 +0300
Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> > > 3. It would be nice to have the Document -> Indent Width -> #
> > > commands bindable to keys. Personally I don't use Ctrl+# for sending
> > > selection to custom commands...
> >
> > I think it would be better to have a single keybinding that prompted
> > for the indent width rather than (re)assign those shortcuts.
>
> I'd really prefer separate keys... Well, maybe I'll write a short
> plugin, "Quick Indent" or something, that (1) adds these keybinding and
OK
> (2) includes a "Redinent all documents" function, which will apply the
> current settings to all open files. Ever since per-document indent took
> place, we have no way to quickly reindent all open project files, and
> that bugs me.
Yes, I mentioned this at the time. I think such a function could/should
be in the core. Patches welcome.
Nick
More information about the Devel
mailing list