Community
Participate
Working Groups
smartIndentAfterNewLine(d, c);
else if (c.text.length() == 1)
smartIndentOnKeypress(d, c);
else if (c.text.length() > 1 && getPreferenceStore().getBoolean(PreferenceConstants.EDITOR_SMART_PASTE))
else if (c.text.length() > 1
&& getPreferenceStore().getBoolean(PreferenceConstants.EDITOR_SMART_PASTE)
&& ! c.text.matches("^ *$") ) //$NON-NLS-1$, skip spaces-only strings
smartPaste(d, c); // no smart backspace for paste
}