Jean-Marc Lasgouttes wrote:
"Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

Bo> The attached patch is a much improved version of my previous
Bo> patch. The biggest change is that I add a ClearSelection flag to
Bo> each LFUN and call saveSelection accordingly. This version also
Bo> has Abdel's fix for mathed, table, window switch etc.

This is not a bad idea indeed.

Translation for non-native French speakers: this is a _good_ idea ;-)

A question though: how does this
relates to selHandle?

selHandle() is a member of Cursor and we need something BufferView dependent.

It looks like saveSelection could directly be
called there, isn't it?

No because we use a lot of local Cursor copies (which is very bad IMO). I think we agree that it would be better but we are not ready for that.

Abdel.

Reply via email to