Optional synchronous snippet editing. Coordinates refer to the projected code body (UTF-16, LF), without Markdown container prefixes. The caller owns the delegate; Flark owns validation, source translation and history.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
highlight(
String source, String info) → CodeHighlight -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
propose(
String source, {required String language, required int base, required int extent, required CodeEditingAction action, required String text, required String indentUnit}) → CodeEditProposal? -
The edit
actionmakes of the code bodysource, whose selection runs frombasetoextent, or null to leave it to Flark's literal code editing.textis what CodeEditingAction.insert types, andindentUnitthe step Tab inserts. -
resolveLanguage(
String source, String info) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited