On Freitag, 12. Februar 2010, David Arnold wrote:
> 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.
> _______________________________________________
> Eric mailing list
> Eric@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
> 

It indents/unindents the selected text or the current line to the possible 
indentation levels. However, that might not be valid code.

Detlev
-- 
Detlev Offenbach
det...@die-offenbachs.de
_______________________________________________
Eric mailing list
Eric@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to