Why not using an ``org.eclipse.jface.text.IRegion`` instead of the offset and length pair. I'm not feeling strongly about this, so it's up to you.