()
| 46 | } |
| 47 | backUp(n) {this.pos -= n} |
| 48 | column() { |
| 49 | if (this.lastColumnPos < this.start) { |
| 50 | this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue) |
| 51 | this.lastColumnPos = this.start |
| 52 | } |
| 53 | return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0) |
| 54 | } |
| 55 | indentation() { |
| 56 | return countColumn(this.string, null, this.tabSize) - |
| 57 | (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0) |
no test coverage detected