0.3.8 • Published 7 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
7 years ago
0.3.7
7 years ago
0.3.6
7 years ago
0.3.4
7 years ago
0.3.3
7 years ago
0.3.2
7 years ago
0.3.1
7 years ago
0.3.0
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.14
7 years ago
0.1.13
7 years ago
0.1.12
7 years ago
0.1.11
7 years ago
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago