Skip to content

Commit

Permalink
Also cancel actionTagComposingAttribution if it is only on the very l…
Browse files Browse the repository at this point in the history
…ast character.
  • Loading branch information
KevinBrendel committed Aug 16, 2024
1 parent e95e848 commit c0a6a3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ class ActionTagComposingReaction extends EditReaction {

final composingTagRanges = node.text.getAttributionSpansInRange(
attributionFilter: (a) => a == actionTagComposingAttribution,
range: SpanRange(0, node.text.length - 1),
range: SpanRange(0, node.text.length),
);

for (final range in composingTagRanges) {
Expand Down

0 comments on commit c0a6a3b

Please sign in to comment.