On Sun, Oct 12, 2008 at 8:46 AM, Ville M. Vainio <[EMAIL PROTECTED]> wrote:

> Vim-like bindings project should happen in the GUI plugin, not core
> (see my previous message).

I would be surprised if this would be substantially easier when
implemented in the gui plugin, but maybe I'm wrong.

> What commands need to drive the text widget? Why not let the commands
> manipulate the text itself, and just tell the ui to redraw the body? I
> think the commands only need to know the cursor position, and the rest
> can be done by manipulating the content.

That's basically what happens.  The interface between the core and the
plugin is the leoQtBody class.  Whether the core only calls
leoQtBody.setAllText, or is allowed to call other methods of the same
class, is a nit.

> Perhaps this project of simplification could that new ambitious thing,
> and a source of lots of fresh ideas & inspiration. In any case, it will be 
> lots of fun :-).

I agree completely.  Simplification is not only fun, it leads to more
power and generality.  This is what I was referring to when I spoke
about Squeak.  You have been leading by example.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to