boolean (int startOffset, int endOffset) { int hostStart = myDocumentWindow.injectedToHost(startOffset); int hostEnd = myDocumentWindow.injectedToHost(endOffset); return myDelegate.intersectsRegion(hostStart, hostEnd); }