ParchmentHeuristics class
Registry for insert, format and delete heuristic rules used by ParchmentDocument documents.
Constructors
- 
          ParchmentHeuristics({required List<
FormatRule> formatRules, required List<InsertRule> insertRules, required List<DeleteRule> deleteRules}) - 
          
            const
 
Properties
- 
  deleteRules
  → List<
DeleteRule>  - 
  List of delete rules in this registry.
  final
 - 
  formatRules
  → List<
FormatRule>  - 
  List of format rules in this registry.
  final
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - 
  insertRules
  → List<
InsertRule>  - 
  List of insert rules in this registry.
  final
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 
Methods
- 
  applyDeleteRules(
ParchmentDocument document, int index, int length) → Delta  - 
  Applies heuristic rules to specified delete operation based on current
state of Parchment 
document. - 
  applyFormatRules(
ParchmentDocument document, int index, int length, ParchmentAttribute value) → Delta  - 
  Applies heuristic rules to specified format operation based on current
state of Parchment 
document. - 
  applyInsertRules(
ParchmentDocument document, int index, Object data) → Delta  - 
  Applies heuristic rules to specified insert operation based on current
state of Parchment 
document. - 
  merge(
ParchmentHeuristics other) → ParchmentHeuristics  - Creates a copy of this heuristics with rules from other appended.
 - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited
 
Constants
- fallback → const ParchmentHeuristics
 - Default set of heuristic rules.