//
// for (int j= 0; j != offsets.length; j++)
// manager.addPosition(offsets[j] + start, length);
// }
LinkedPositionUI editor = new LinkedPositionUI(fViewer, manager);
editor.setFinalCaretOffset(fTemplate.length()+start);
// editor.setFinalCaretOffset(getCaretOffset(fTemplateBuffer) + start);
editor.enter();
fSelectedRegion = editor.getSelectedRegion();
} catch (BadLocationException e) {
//PHPeclipsePlugin.log(e);
e.printStackTrace();
openErrorDialog(e);