(code, id, x, y, ticks)
| 120 | application.cursor = color ? cursors.link : cursors.iBeam; |
| 121 | } |
| 122 | onTouchEnded(code, id, x, y, ticks) { |
| 123 | super.onTouchEnded(code, id, x, y, ticks); |
| 124 | if ((this.mode == 0) && (code.selectionLength == 0)) { |
| 125 | let offset = code.findLineBreak(code.selectionOffset, false); |
| 126 | let color = this.colors.find(color => color.offset == offset && color.path !== undefined); |
| 127 | if (color) { |
| 128 | model.selectFile(color.path, { line:color.line }); |
| 129 | } |
| 130 | } |
| 131 | } |
| 132 | onSelected(code) { |
| 133 | code.bubble("onCodeSelected"); |
| 134 | } |
nothing calls this directly
no test coverage detected