Fix incorrectly treating last offset as OOB
Fix incorrectly treating last offset as OOB

This bug would manifest if a plugin had no cache and the user attempted
to resolve the line containing the last (EOF) offset.

google/xi-editor,google/xi-editor,google/xi-editor,google/xi-editor