John Levon wrote:
On Tue, Oct 02, 2007 at 10:30:47PM -0400, Richard Heck wrote:

There's also the question how all of this gets written to a LyX file. Especially once we're doing XML, it'll be essential that everything be properly nested (unless each character is supposed to be written with all of its associated formatting information, which is insane). Insets are a natural correlate to that, because they nest. This does NOT mean that they have to appear to the user as insets, only that the underlying data structure nests properly.

However, insets imply all sorts of things about cursor movement and
mouse placement. Unless things in this area got *massively* cleaned up
since I last looked at the code, getting correct cursor movement with
char-ranges-as-insets will not be easy.

We will face challenge for sure but Cursor movement is already working well for entering and leaving insets. We will have to decide what to do with selection though. I am in the opinion that when coming outside of an inset, whatever it is (charstyle included), we should select the full insets. Right now, the implementation offers no other choice in any case.

Abdel.

Reply via email to