* Removes the specified columns from the `row`. This method also triggers a `"change"` event. * @param {Number} row The row to remove from * @param {Number} startColumn The column to start removing at * @param {Number} endColumn The column to stop removing at * @returns {Point}
(row, startColumn, endColumn)
| 407 | |
| 408 | **/ |
| 409 | removeInLine(row, startColumn, endColumn) { |
| 410 | var start = this.clippedPos(row, startColumn); |
| 411 | var end = this.clippedPos(row, endColumn); |
| 412 | |
| 413 | this.applyDelta({ |
| 414 | start: start, |
| 415 | end: end, |
| 416 | action: "remove", |
| 417 | lines: this.getLinesForRange({start: start, end: end}) |
| 418 | }, true); |
| 419 | |
| 420 | return this.clonePos(start); |
| 421 | } |
| 422 | |
| 423 | /** |
| 424 | * Removes a range of full lines. This method also triggers the `"change"` event. |
no test coverage detected