Update editor.js

removed indentation code; Geany handles restoring tabs natively and processing indentation in editor.js was doubling the number of tabs
Merge pull request #2 from DThought/patch-1

Editor doesnot need indentation for replaceselection as it done by default.