* Apply a series of changes inside a synchronous `fn`, deferring * normalization until after the function has finished executing. * * @param {Function} fn * @return {Editor}
(fn)
| 406 | */ |
| 407 | |
| 408 | withoutNormalizing(fn) { |
| 409 | const { controller } = this |
| 410 | const value = this.tmp.normalize |
| 411 | this.tmp.normalize = false |
| 412 | fn(controller) |
| 413 | this.tmp.normalize = value |
| 414 | normalizeDirtyPaths(this) |
| 415 | return controller |
| 416 | } |
| 417 | |
| 418 | /** |
| 419 | * Deprecated. |
no test coverage detected