0.3.8 • Published 5 years ago
optic-editor-sdk v0.3.8
Optic Editor SDK
A nice utility for building Optic IDE plugins
Usage
npm install optic-editor-sdk
Editor Actions:
- Search -> detect and push an inline search to Optic
import {EditorConnection} from 'optic-editor-sdk'
EditorConnection.actions.search(file, start, end, 'query string')
To detect if an inline search has been input use the following utility:
```javascript
import {checkForSearch} from 'optic-editor-sdk'
checkForSearch('line contents', startInLine, endInline)
Push Context -> push the current state of your editor to Optic
import {EditorConnection} from 'optic-editor-sdk' EditorConnection.actions.context(file, start, end, 'file contents')
0.3.8
5 years ago
0.3.7
5 years ago
0.3.6
5 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
6 years ago
0.3.1
6 years ago
0.3.0
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.14
6 years ago
0.1.13
6 years ago
0.1.12
6 years ago
0.1.11
6 years ago
0.1.10
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
6 years ago
0.1.6
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago