-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Fixes #1256 #1769
Fixes #1256 #1769
Conversation
src/document/TextRange.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a typo? thought?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! It's supposed to say "though". Good catch!
|
Done with initial review. |
|
Thank you for the review! Much appreciated! Personally I'm most skeptical about forwarding an event as the "cause" of another event. It feels fishy somehow. What are your thoughts on this? |
|
I can't think of other elegant alternatives that will let you distinguish between "deleted" and "out-of-sync". So I'm ok with forwarding the "cause". It is harder to understand it at first. I was almost to question you on how we get "deleted" as the cause, but later I figured out by doing global search. |
|
Thanks a lot for your review, much appreciated! I updated the comments as per your suggestions. Unless I overlooked anything, that's it from me for now. |
|
Looks good. Merging |
Fixes #1256: Deleting a file should remove entry from inline editor
This one could use a thorough review...