On Thu, 14 Mar 2013 09:03:40 -0700 Roger Booth rbooth@kabooth.com wrote:
My point was that there is no need for the editor to remove whitespace if the editor does not auto-generate it in the first place. That's how Codewright worked, and it seemed to work better than Geany's various options.
You can write a plugin that connects to Geany "key-press-event"; you can send anything to Scintilla using scintilla_send_message() and the other sci wrappers - see GeanyExtraSel for example of both.
That seems enough to try implementing indentation via virtual space. Unless the plugin does really nasty hacks, or slows Geany significantly, it's likely to be accepted, or at least mentioned as link in geany.org's "Other Plugins".