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, steffen.sier...@gmail.com wrote: > Fri May 8 03:55:22 CEST 2009 steffen.sier...@gmail.com > * 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 yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---