modifyRegionB is evil. It will delete the contents and insert the new content (yeh very simple, indeed), but unfortunately all Marks inside that region will be shifted to the beginning of the region. Having code relying on correct marks using modifyRegionB may introduce some very anoying bugs... If possible consider using modifyRegionClever
On May 8, 3:56 am, [email protected] wrote: > Fri May 8 03:55:22 CEST 2009 [email protected] > * replace modifyRegionB with modifyRegionClever when joining lines -> > buffer marks stay valid > > replace-modifyregionb-with-modifyregionclever-when-joining-lines-__-buffer-marks-stay-valid.dpatch > 114KViewDownload --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
