CodeMirror 官网文档
CodeMirror 官网文档
State
View
“视图”是用户看到的编辑器的一部分——一个 DOM 显示编辑器状态并允许文本输入的组件
原文档没有局部toc,这里补一下
interface EditorViewConfig extends EditorStateConfig
class EditorView
class BlockInfo
enum BlockType
扩展视图
class ViewPlugin<V extends PluginValue>
interface PluginValue extends Object
interface PluginSpec<V extends PluginValue>
class ViewUpdate
interface MouseSelectionStyle
键绑定
interface KeyBinding
装饰
class Decoration extends RangeValue
abstract class WidgetType
class MatchDecorator
Gutters
abstract class GutterMarker extends RangeValue
工具提示
interface Tooltip
interface TooltipView
Panels
-
布局设计
interface LayerMarker
class RectangleMarker implements LayerMarker
矩形选区
链接到当前文件 0
没有文件链接到当前文件