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

Older Eclipse version support fix


Former-commit-id: dfd1ad94
上级 17d73eb5
......@@ -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.
先完成此消息的编辑!
想要评论请 注册