private void removeDummyString() {
ITextDocument textDocument = null;
textDocument = getCurrentTextDocument();
IViewCursor viewCursor = textDocument.getViewCursorService()
.getViewCursor();
ITextCursor textCursor = viewCursor.getTextCursorFromEnd();
textCursor.goLeft((short) DUMMY_INSERT_STRING.length(), true);
textCursor.setString(""); //$NON-NLS-1$
}