node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

codemirror-activine

codemirror-activine

Simple code-mirror plugin for highlighting active line.

Usage

// require plugin 
var activine = require("codemirror-activine")
 
// Install plugin 
activine(CodeMirror)
 
var myCodeMirror = CodeMirror(document.body, {
  // ... 
  activeLine: true // enable active line highlighting 
})

Install

npm install codemirror-activine