[Eric] smart indent

David Arnold dwarnold45 at suddenlink.net
Thu Feb 11 23:00:59 GMT 2010


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.


More information about the Eric mailing list