Hacker News new | ask | show | jobs
by philh 4271 days ago
This could presumably be handled similar to how patch does it. When you make an annotation, you store an approximate location and say a hundred words of context. When someone loads your annotation, even if they have a slightly different edition, you can look for almost-the-same text, searching outwards from an appropriate point.