Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upProperly propagate changes when range or trees are mutated #8506
Conversation
highfive
commented
Nov 13, 2015
|
Cool, seems reasonable. |
|
@bors-servo try |
Properly propagate changes when range or trees are mutated Does the same thing as #6817, but storing Range instances directly in their start and end containers. Cc @dzbarsky <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8506) <!-- Reviewable:end -->
|
|
|
|
Oh right forgot about those, thanks @eefriedman. |
|
|
9977797
to
52699c4
|
@bors-servo try |
Properly propagate changes when range or trees are mutated Does the same thing as #6817, but storing Range instances directly in their start and end containers. Cc @dzbarsky <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8506) <!-- Reviewable:end -->
|
|
|
@bors-servo try |
|
(I'm also not a peer so you'll need someone else to take a look at this too) |
|
Thanks for the review! Replied to your comments. Will fix the typo. Review status: all files reviewed at latest revision, 10 unresolved discussions. components/script/dom/bindings/weakref.rs, line 214 [r5] (raw file): components/script/dom/bindings/weakref.rs, line 254 [r5] (raw file): components/script/dom/node.rs, line 1610 [r5] (raw file): components/script/dom/node.rs, line 2401 [r5] (raw file): components/script/dom/range.rs, line 872 [r5] (raw file): components/script/dom/range.rs, line 913 [r5] (raw file): components/script/dom/range.rs, line 997 [r5] (raw file): components/script/dom/range.rs, line 1043 [r5] (raw file): components/script/dom/range.rs, line 1059 [r5] (raw file): components/script/dom/range.rs, line 1063 [r5] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 4 unresolved discussions. components/script/dom/node.rs, line 2401 [r5] (raw file): components/script/dom/range.rs, line 1043 [r5] (raw file): components/script/dom/range.rs, line 1059 [r5] (raw file): components/script/dom/range.rs, line 1063 [r5] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/script/dom/range.rs, line 1043 [r5] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/script/dom/range.rs, line 1043 [r5] (raw file): I was actually just thinking, if we inline this function we don't even need to name it and all the steps are together. Can we just call update from Text#split and pass in the closure from there? Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/script/dom/range.rs, line 1043 [r5] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/script/dom/range.rs, line 1043 [r5] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/script/dom/range.rs, line 1043 [r5] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/script/dom/range.rs, line 1043 [r5] (raw file): Comments from the review on Reviewable.io |
|
@bors-servo delegate=dzbarsky |
|
|
|
I mean callers can already do whatever they want with the ranges...but whatever. It was just a suggestion. You can land it like this if you really its better. @bors-servo r+ |
|
|
|
@bors-servo r- force will wait for you to say it's ready, looks like you haven't pushed yet. |
|
I fixed the typo in "underlying". @bors-servo r=dzbarsky |
|
|
Properly propagate changes when range or trees are mutated Does the same thing as #6817, but storing Range instances directly in their start and end containers. Cc @dzbarsky <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8506) <!-- Reviewable:end -->
|
|
nox commentedNov 13, 2015
Does the same thing as #6817, but storing Range instances directly in their start and end containers.
Cc @dzbarsky