@textcomplete/codemirror
v0.1.13
Published
Textcomplete editor for CodeMirror
Downloads
468
Readme
@textcomplete/codemirror
Textcomplete editor for CodeMirror. (Experimental)
Check the live demo here.
Install
npm install --save @textcomplete/core @textcomplete/codemirror codemirror
Synopsis
const { Textcomplete } = require("@textcomplete/core")
const { CodeMirrorEditor } = require("@textcomplete/codemirror")
const CodeMirror = require("codemirror")
const cm = CodeMirror(myElement)
const editor = new CodeMirrorEditor(cm)
const textcomplete = new Textcomplete(editor, strategies, option)
Usage
Read the document.
License
© Yuku Takahashi - This software is licensed under the MIT license.