(id:string)
| 1041 | }, 0); |
| 1042 | |
| 1043 | jumpTo(id:string) { |
| 1044 | for(let span of this.getAllSpans()) { |
| 1045 | if(span.source.id === id) { |
| 1046 | let loc = span.find(); |
| 1047 | if(!loc) break; |
| 1048 | this.cm.scrollIntoView(loc, 20); |
| 1049 | break; |
| 1050 | } |
| 1051 | } |
| 1052 | } |
| 1053 | |
| 1054 | scrollToPosition(position:Position) { |
| 1055 | let top = this.cm.cursorCoords(position, "local").top; |
nothing calls this directly
no test coverage detected