useSpaces = c.getBoolean(PydevEditorPrefs.SUBSTITUTE_TABS);
tabWidth = c.getInt(PydevEditorPrefs.TAB_WIDTH, 4);
}
public boolean getUseSpaces(boolean considerForceTabs) {
PyPreferencesCache c = getCache();
if (useSpaces != c.getBoolean(PydevEditorPrefs.SUBSTITUTE_TABS)) {
useSpaces = c.getBoolean(PydevEditorPrefs.SUBSTITUTE_TABS);
regenerateIndentString();
}
if (considerForceTabs && getForceTabs()) {
return false; //forcing tabs.
}