You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you define a function on the console and come back to edit it, the indentation is off by one character when using tab. you can edit any existing line, but you cannot indent a new inserted line with a tab - seems to default to 3 spaces. if you physically type 4 spaces, its fine.
The text was updated successfully, but these errors were encountered:
I do not believe that tab gets converted into spaces in the console (it definitely doesn't on my OSX system). It is true that the result does not always align with 4-space indentation, but that's because the whole console is a rich text field, so the tab marks will actually vary relative to the line start depending on the length of the input prompt.
We should probably bind to insert 4 spaces, to prevent confusion.
Since the problem here is that tab inserts a tab character this isn't a bug, so I'm marking as an enhancement. We should definitely add support for soft-tabs, though.
OS X: 10.6
if you define a function on the console and come back to edit it, the indentation is off by one character when using tab. you can edit any existing line, but you cannot indent a new inserted line with a tab - seems to default to 3 spaces. if you physically type 4 spaces, its fine.
The text was updated successfully, but these errors were encountered: