(cm, line, ch, range)
| 19 | var xmlTagStart = new RegExp("<(/?)([" + nameStartChar + "][" + nameChar + "]*)", "g"); |
| 20 | |
| 21 | function Iter(cm, line, ch, range) { |
| 22 | this.line = line; this.ch = ch; |
| 23 | this.cm = cm; this.text = cm.getLine(line); |
| 24 | this.min = range ? range.from : cm.firstLine(); |
| 25 | this.max = range ? range.to - 1 : cm.lastLine(); |
| 26 | } |
| 27 | |
| 28 | function tagAt(iter, ch) { |
| 29 | var type = iter.cm.getTokenTypeAt(Pos(iter.line, ch)); |
nothing calls this directly
no outgoing calls
no test coverage detected