clkao / ep_author_neat

Use colored underline for authorship instead of background color
9 stars 8 forks source link

removing chunks of content doesn't fire redraw #6

Closed JohnMcLear closed 11 years ago

JohnMcLear commented 11 years ago

create lines 1 2 3 4 5 with content 1 2 3 4 5

delete lines 2 to 4, note that the blue author bar extends past viewable content. This is related to https://github.com/clkao/ep_author_neat/issues/5 and is a limitation introduced by the plugin hook that only returns the first line edited.

To fix this we need a way to iterate over the dom to find any future/previous lines that contain either: a different author OR nothing