On 03/02/09 08:38, maoyg wrote:
> I submit the second patch about issue 8302 today, I find a problem when I 
> test it.
> For example,the merged cells are B2:D2,B3:D3,B4:D4,B5:D5...B40:D40, I 
> selected C column,
> click Insert Columns,the inserting merged cell is right, I click Undo 
> command,the calc is very slow,
> because it will mark range from B40:D40,B39:D39... to B3:D3,B2:D2.
> if the merged cells are B2:D2,B3:D3... to B20:D20,click Undo command,the calc 
> is very quick.
> this problem is very important, if the user use this feature,he/she will feel 
> the calc is slow.
> I think this problem is related to the UnmergeCells/MergeCells, can we solve 
> this problem?

Do you mean the scrolling of the view, if some of the merged ranges are
outside of the currently visible area? That is done by the undo actions
for merge/unmerge. To get rid of it, the undo actions would have to know
they are part of "insert cells", and then not change the view.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org
For additional commands, e-mail: dev-h...@sc.openoffice.org

Reply via email to