colorCache = new ColorAndStyleCache(PydevPrefs.getChainedPrefStore());
editConfiguration = new PyEditConfiguration(colorCache, this, PydevPrefs.getChainedPrefStore());
setSourceViewerConfiguration(editConfiguration);
indentStrategy = editConfiguration.getPyAutoIndentStrategy();
setRangeIndicator(new DefaultRangeIndicator()); // enables standard
// vertical ruler
//Added to set the code folding.
CodeFoldingSetter codeFoldingSetter = new CodeFoldingSetter(this);
this.addModelListener(codeFoldingSetter);