You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 3.20, there's no error, and the result is "AB" (with two collapsed spans).
In 3.21 and later, there is an "Inserting collapsed marker partially overlapping an existing one" error in the second markText call.
If the inclusiveRight option is removed, then there's no error in 3.20 or 3.21 and later.
It turns out that we don't absolutely need to use the inclusiveLeft and inclusiveRight options in our application (the rich text mode on writeLaTeX), so we've worked around this by just removing them. But, for future reference, is the new behaviour the intended one?
The text was updated successfully, but these errors were encountered:
Example -- run this in the console on the CodeMirror home page:
In 3.20, there's no error, and the result is "AB" (with two collapsed spans).
In 3.21 and later, there is an "Inserting collapsed marker partially overlapping an existing one" error in the second
markText
call.If the
inclusiveRight
option is removed, then there's no error in 3.20 or 3.21 and later.It turns out that we don't absolutely need to use the inclusiveLeft and inclusiveRight options in our application (the rich text mode on writeLaTeX), so we've worked around this by just removing them. But, for future reference, is the new behaviour the intended one?
The text was updated successfully, but these errors were encountered: