}
try {
LinkedModeModel model = new LinkedModeModel();
model.addGroup(group);
model.forceInstall();
model.addLinkingListener(new EditorSynchronizer(editor));
Point curRange = viewer.getSelectedRange();
LinkedModeUI ui = new EditorLinkedModeUI(model, viewer);
ui.setExitPosition(viewer, offset, 0, Integer.MAX_VALUE);
ui.enter();
viewer.setSelectedRange(curRange.x,curRange.y);