| 32 | } |
| 33 | |
| 34 | static json getURIAndPositionJSON( UICodeEditor* editor ) { |
| 35 | json data; |
| 36 | auto doc = editor->getDocumentRef(); |
| 37 | auto sel = doc->getSelection(); |
| 38 | data["uri"] = doc->getURI().toString(); |
| 39 | data["position"] = { { "line", sel.start().line() }, { "character", sel.start().column() } }; |
| 40 | return data; |
| 41 | } |
| 42 | |
| 43 | class LSPSymbolInfoTreeModel : public Model { |
| 44 | public: |
no test coverage detected