The sort-lines command works from the minibuffer, proving that the new 
syncing scheme works.

Executing minibuffer commands now happens in stages:

1. After recognizing the command, app.execute_minibuffer_command calls 
flx_body.sync_before_command as the first step in the syncing process.

2. flx_body.sync_before_command adds data to the dictionary passed to it, 
then calls app.complete_minibuffer_command.  These data represent the body 
text, insert point and selection ranges.

3. app.complete_minibuffer_command does the following:

- Converts row/col data to integer indices into p.b.
- Updates c.frame.body ivars to sync them.
- Executes code similar to k.callAltXFunction to actually do the command.

Work still remains, but not much, and it will be similar to today's work.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to