Closed jmartinesp closed 3 months ago
Attention: Patch coverage is 81.25000%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 87.13%. Comparing base (
a1942c7
) to head (b503482
).
Files | Patch % | Lines |
---|---|---|
.../java/io/element/android/wysiwyg/EditorEditText.kt | 80.00% | 1 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Only re-render the contents when it's really necessary. And even when it's needed, try to restore the composing region.
This code caused an issue of missing composing regions (and incorrect input because of this) when embedding the editor in compose code that isn't present when using it with legacy Android views.
It should also improve performance as we won't be re-rendering the text for every change to it.
I added some changes to keep the Trime keyboard working while fixing a new discovered issue when backspacing in SwiftKey after https://github.com/matrix-org/matrix-rich-text-editor/pull/949 was merged.