public InsertionContext forkByOffsetMap() {
    return new InsertionContext(myOffsetMap.copyOffsets(myEditor.getDocument()), myCompletionChar, myElements, myFile, myEditor, myAddCompletionChar);
  }
public InsertionContext forkByOffsetMap()