Nate Lowrie wrote: > On Fri, Oct 24, 2008 at 9:42 AM, Ed Leafe <[EMAIL PROTECTED]> wrote: >> On Oct 24, 2008, at 10:26 AM, Mike Mabey wrote: >> >>> Are there any plans to implement an option for the user to specify >>> their >>> preference of spacing per indentation, or even changing the >>> indentation >>> "schema" for each document to be consistent with whatever is already >>> being >>> used in the document? >> >> It's been a while since I looked at that code, but AFAIK that's >> handled at whe wxPython.stc level. I don't have the time to dig into >> it now, but to be honest I never code with spaces, so I've never >> tested this. > > Same here. I never have used spaces. You are right about it being > handled at the STC level, though we could change the > tab.timmy.whinge.level to 2, which means it only checks for mixed > spaces/tabs rather than inconsistencies. Spaces work fine in the > dEditor widget, so long as they're are the same number of spaces as > set in the TabWidth property (which is a kinda silly name because when > UseTabs is False this property is instead the number of spaces per > indent). > > Nate L.
I know that Dabo prefers tabs for indentation. But it's a pity that spaces don't work as expected in the editor as spaces are the standard indentation style for python code. See: http://www.python.org/dev/peps/pep-0008/ I never run into this as i'm using emacs mostly. Emacs doesn't have any problems with both indentation styles. Uwe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
