MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / column

Method column

lib/web/CodeMirror/src/util/StringStream.js:48–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)

Callers 15

blockNormalFunction · 0.80
pushBracketScopeFunction · 0.80
sparql.jsFile · 0.80
pushContextFunction · 0.80
d.jsFile · 0.80
realTokenFunction · 0.80
glsl.jsFile · 0.80
groovy.jsFile · 0.80
ruby.jsFile · 0.80
z80.jsFile · 0.80
fcl.jsFile · 0.80
resultFunction · 0.80

Calls 1

countColumnFunction · 0.90

Tested by

no test coverage detected