>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

>> I think I prefer the LFUN based solution as it is more systematic.
>> But at the same time why keep Cursor::selHandle() if we do that?

Bo> I tried a little bit but while my patch is pretty straightforward
Bo> and safe, moving or deleting selHandle seems to be too dangerous
Bo> to be done right now. Of course, if you know it well, it is
Bo> another story.

Concerning your approach, many things are still missing (IMO of
course). For example, self-insert will replace the selection if there
is one, so you should save the selection.

Tracking all the lfuns where this happens is more complicated IMO than
adding a proper call in eraseSelection and cutSelection (patch
coming).

JMarc

Reply via email to