(cm, options, hasGutter)
| 56 | } |
| 57 | |
| 58 | function LintState(cm, options, hasGutter) { |
| 59 | this.marked = []; |
| 60 | this.options = options; |
| 61 | this.timeout = null; |
| 62 | this.hasGutter = hasGutter; |
| 63 | this.onMouseOver = function(e) { onMouseOver(cm, e); }; |
| 64 | } |
| 65 | |
| 66 | function parseOptions(cm, options) { |
| 67 | if (options instanceof Function) return {getAnnotations: options}; |
nothing calls this directly
no test coverage detected