src/vs/editor/common/commands/trimTrailingWhitespaceCommand.ts/TrimTrailingWhitespaceCommand/getEditOperations
class TrimTrailingWhitespaceCommand:	public getEditOperations(model: ITextModel, builder: IEditOperationBuilder): void {
		const ops = trimTrailingWhitespace(model, this._cursors);
		for (let i = 0, len = ops.length; i < len; i++) {
			const op = ops[i];

			builder.addEditOperation(op.range, op.text);
		}

		this._selectionId = builder.trackSelection(this._selection);
	}