matrix-react-sdk
037ac29c
- be more forgiving with offset that don't have atNodeEnd=true
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
6 years ago
be more forgiving with offset that don't have atNodeEnd=true if index is not found, it means the last position should be returned if there is any. We still return -1 for empty documents, as index should always point to a valid part if positive.
References
#3386 - New composer: show format bar on selection
Author
bwindels
Committer
bwindels
Parents
42c37d82
Loading