TextLineStateCommandExtensions extension

on

Methods

duplicateSelectedLinesAboveCommand(List<String> lines) TextLineCommandResult

Available on TextLineStateSnapshot, provided by the TextLineStateCommandExtensions extension

duplicateSelectedLinesBelowCommand(List<String> lines) TextLineCommandResult

Available on TextLineStateSnapshot, provided by the TextLineStateCommandExtensions extension

moveSelectedLinesCommand(List<String> lines, {required int direction}) TextLineCommandResult

Available on TextLineStateSnapshot, provided by the TextLineStateCommandExtensions extension

renumberNumberedListCommand(List<String> lines, {int startAt = 1}) TextLineCommandResult

Available on TextLineStateSnapshot, provided by the TextLineStateCommandExtensions extension

toggleChecklistStateCommand(List<String> lines, {String checkedMarker = 'x'}) TextLineCommandResult

Available on TextLineStateSnapshot, provided by the TextLineStateCommandExtensions extension

toggleHeadingPrefixCommand(List<String> lines, {int level = 1}) TextLineCommandResult

Available on TextLineStateSnapshot, provided by the TextLineStateCommandExtensions extension

toggleLinePrefixCommand(List<String> lines, {required String prefix, bool addSpaceWhenNonEmpty = true, bool skipBlankLinesWhenChecking = true}) TextLineCommandResult

Available on TextLineStateSnapshot, provided by the TextLineStateCommandExtensions extension

toggleNumberedListCommand(List<String> lines, {int startAt = 1}) TextLineCommandResult

Available on TextLineStateSnapshot, provided by the TextLineStateCommandExtensions extension