CodeMirror 2.35/3.0 Beta2,在线代码编辑

CodeMirror 2.35 发布了,主要改进包括:

同时发布的还有 3.0 Beta 2 版本,改进记录:

  • Fix page-based coordinate computation.
  • Fix firing of gutterClick event.
  • Add cursorHeight option.
  • Fix bi-directional text regression.
  • Add viewportMargin option.
  • Directly handle mousewheel events (again, hopefully better).
  • Make vertical cursor movement more robust (through widgets, big line gaps).
  • Add flattenSpans option.
  • Initialization in hidden state works again.
  • Many optimizations. Poor responsiveness should be fixed.
  • Full list of patches.

CodeMirror 是一款“Online Source Editor”,基于Javascript,短小精悍,实时在线代码高亮显示,他不是某个富文本编辑器的附属产品,他是许多大名鼎鼎的在线代码编辑器的基础库。

CodeMirror 2.35/3.0 Beta2,在线代码编辑

你可能感兴趣的:(code)