提交 dfd1ad94 编写于 作者: S serge-rider

Older Eclipse version support fix

上级 63cb8643
......@@ -97,7 +97,9 @@ public abstract class SQLEditorBase extends BaseTextEditor implements DBPContext
//editorStore.setDefault(SQLPreferenceConstants.MATCHING_BRACKETS_COLOR, "128,128,128"); //$NON-NLS-1$
// Enable "delete spaces as tabs" option by default
editorStore.setDefault(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_DELETE_SPACES_AS_TABS, true);
// We use hardcoded constants instead of AbstractDecoratedTextEditorPreferenceConstants.EDITOR_DELETE_SPACES_AS_TABS
// to allow compile on older Eclipse versions
editorStore.setDefault("removeSpacesAsTabs", true);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册