Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge branch 'langleyd/fix_predictive_text_and_suggestions' of https:…
Browse files Browse the repository at this point in the history
…//github.com/matrix-org/matrix-wysiwyg into langleyd/fix_predictive_text_and_suggestions
  • Loading branch information
Velin92 committed Jul 15, 2024
2 parents 9e810c8 + dbafe83 commit a499178
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public extension WysiwygComposerViewModel {
compressedHeight = min(maxCompressedHeight, max(minHeight, idealTextHeight))
}

// swiftlint:disable cyclomatic_complexity
// swiftlint:disable:next cyclomatic_complexity
func replaceText(range: NSRange, replacementText: String) -> Bool {
guard shouldReplaceText else {
return false
Expand Down Expand Up @@ -392,8 +392,6 @@ public extension WysiwygComposerViewModel {
lastReplaceTextUpdate = nextTextUpdate
return skipTextViewUpdate
}

// swiftlint:enable cyclomatic_complexity

func select(range: NSRange) {
do {
Expand Down

0 comments on commit a499178

Please sign in to comment.