Closed jackofsporks closed 6 years ago
TODO This seems like a fragile way to update a block id:75 gh:81 ic:gh
TODO This seems like a fragile way to update a block id:75 gh:81 ic:gh
TODO This seems like a fragile way to update a block id:75 gh:81 ic:gh
TODO This seems like a fragile way to update a block id:75 gh:81 ic:gh
Issue closed with imdone.io by removing a comment.
// Updating the token too...?? // get one word/parts of word + change start and end index + ??? // + find matching values const block = {...previousBlock} if (action === "delete") block.endIndex -= 1 else if (action === "insert") block.endIndex += 1 }
opened via imdone.io from a code comment on 022c7057 by jackofsporks
https://github.com/jackofsporks/blockit/blob/70af5f49ac3561692612ecc5d71cae8977c5e35d/lib/control/Locator.js#L428-L440