CodeMirrorConfig class

Constructors

CodeMirrorConfig({String mode, String value, String lineSeparator, String theme, int indentUnit = 2, bool smartIndent = true, int tabSize = 4, bool indentWithTabs = false, bool electricChars = true, RegExp specialChars, Function specialCharPlaceholder, String direction, bool rtlMoveVisually, String keyMap, bool lineWrapping = false, bool lineNumbers = true, int firstLineNumber = 1, Function lineNumberFormatter, List<String> gutters, bool fixedGutter, String scrollbarStyle, bool coverGutterNextToScrollbar, String inputStyle, bool readOnly, bool showCursorWhenSelecting = false, bool lineWiseCopyCut, bool pasteLinesPerSelection, int undoDepth = 200, int historyEventDelay = 1250, int tabindex, bool autofocus, bool dragDrop, List<String> allowDropFileTypes, int cursorBlinkRate, int cursorScrollMargin = 0, int cursorHeight = 1, bool resetSelectionOnContextMenu = true, int workTime = 200, int workDelay = 300, int pollInterval = 100, bool flattenSpans, bool addModeClass, int maxHighlightLength = 10000, int viewportMargin = 10, Map<String, Function> extraKeys, bool styleActiveLine = true, bool lint = true})

Properties

addModeClass bool
final
allowDropFileTypes List<String>
final
autofocus bool
final
coverGutterNextToScrollbar bool
final
cursorBlinkRate int
final
cursorHeight int
final
cursorScrollMargin int
final
direction String
"ltr" | "rtl"
final
dragDrop bool
final
electricChars bool
final
extraKeys Map<String, Function>
final
firstLineNumber int
final
fixedGutter bool
final
flattenSpans bool
final
gutters List<String>
final
hashCode int
The hash code for this object.
read-onlyinherited
historyEventDelay int
final
indentUnit int
final
indentWithTabs bool
final
inputStyle String
final
keyMap String
"emacs" | "sublime" | "vim"
final
lineNumberFormatter Function
function(line: integer) → string
final
lineNumbers bool
final
lineSeparator String
final
lineWiseCopyCut bool
final
lineWrapping bool
final
lint bool
final
maxHighlightLength int
final
mode String
final
pasteLinesPerSelection bool
final
pollInterval int
final
readOnly bool
final
resetSelectionOnContextMenu bool
final
rtlMoveVisually bool
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scrollbarStyle String
final
showCursorWhenSelecting bool
final
smartIndent bool
final
specialCharPlaceholder Function
function(char) → Element
final
specialChars RegExp
final
styleActiveLine bool
final
tabindex int
final
tabSize int
final
theme String
final
toJsConfig → dynamic
read-only
undoDepth int
final
value String
final
viewportMargin int
final
workDelay int
final
workTime int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited