On 30/04/13 00:03, Tommaso Cucinotta wrote: > For example: > -) when inserting a new character (LFUN_SELF_INSERT): > for each cursor in same par in positions beyond this, do a pos++ > -) when inserting a new par (on Enter): > for each cursor in later pars, do a pit++ > -) others for cut'n'paste, etc... > -) I know, cases will grow fast...
-) when adding a column and/or row, do a _idx += whatever-needed, to achieve the equivalent ++row() or ++col() ? -) handle correspondingly the delete cases and decrement as needed. T.