MarkdownEditorPerformanceSnapshot class
Lightweight editor performance snapshot for host telemetry.
Constructors
- MarkdownEditorPerformanceSnapshot({required int sourceLength, required int blockCount, required int formattedSegmentCount, required bool formattedSegmentCacheHit, required int retainedFormattedSegmentKeyCount, required MarkdownEditorMode mode, required bool isComposing, required int searchMatchCount, required bool slashSuggestionsVisible, required bool wikilinkSuggestionsVisible, required DateTime timestamp})
-
Creates editor performance telemetry.
const
Properties
- blockCount → int
-
Current semantic document block count.
final
- formattedSegmentCacheHit → bool
-
Whether the latest formatted segment lookup reused cached segments.
final
- formattedSegmentCount → int
-
Current formatted block segment count.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isComposing → bool
-
Whether the source controller is inside an active IME composition range.
final
- mode → MarkdownEditorMode
-
Current editor display mode.
final
- retainedFormattedSegmentKeyCount → int
-
Number of retained global keys for formatted block anchoring.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchMatchCount → int
-
Current find match count.
final
- slashSuggestionsVisible → bool
-
Whether slash command suggestions are currently visible.
final
- sourceLength → int
-
Current Markdown source length.
final
- timestamp → DateTime
-
Snapshot creation time.
final
- wikilinkSuggestionsVisible → bool
-
Whether wikilink suggestions are currently visible.
final
Methods
-
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