All, What is Smart Indent on the Edit menu supposed to do? I had: if isfile(self.filename): text=open(self.filename).read() self.ui.editor_window.setText(text) I tried highlighting all this text, then selecting smart indent from the file menu and got: if isfile(self.filename): text=open(self.filename).read() self.ui.editor_window.setText(text) No change? D.