mediawiki-extensions-Visual.../modules/ve/actions
Ed Sanders 8b09dd7650 The resurrection
By removing the transaction listeners from surface fragments we
no longer have to make sure they are always manually destroyed.

In order to retain the functionality of having fragments update
with transactions elsewhere we keep a pointer to a place in the
new complete history stack in the surface. The complete history
stack records all transactions, even undone ones.

Whenever getRange is called we replay all transactions in the
complete history (in the correct order) since the fragment was
last updated.

Also in this commit:
* Updated Format/IndentationAction to test undo(). This increases
  coverage of surface fragment behaviour.
* .range is always accessed by .getRange now, although as an
  optimisation we can use the noCopy mode when we a sure the
  returned range will not be modified.
* Added undo test to .update (previously .onTransact)

Bug: 47343
Change-Id: I9e9818da1baa8319a3002f6d74fd1aad6732a8f5
2013-04-22 12:50:23 +01:00
..
ve.AnnotationAction.js The resurrection 2013-04-22 12:50:23 +01:00
ve.ContentAction.js The resurrection 2013-04-22 12:50:23 +01:00
ve.FormatAction.js The resurrection 2013-04-22 12:50:23 +01:00
ve.HistoryAction.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.IndentationAction.js The resurrection 2013-04-22 12:50:23 +01:00
ve.InspectorAction.js No more confusing boolean argument for closing windows 2013-04-10 12:31:49 -07:00
ve.ListAction.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00