[Bug 71270] Python indent mode doesn't unindent pass correctly with tabs
Noah Medling
noah.medling at gmail.com
Fri Nov 10 20:49:36 UTC 2006
Public bug reported:
Binary package hint: kate
I am using Kubuntu 6.10 amd64 with KDE 3.5.5 and Kate 2.5.5 (package
version 3.5.5-0ubuntu3). When using Python indentation and tabs, Kate
doesn't unindent the "pass" statement correctly.
1. Create a new document (File -> New). This must be done first, as Kate
does not automatically apply indentation settings to new files. I will
file a separate bug report for this shortly.
2. Go to Settings -> Configure Kate -> Editor -> Indentation and
configure things as follows:
Automatic Indentation:
Indentation mode: Python Style (may be overridden by filetype)
Indentation with Spaces:
Use spaces instead of tabs to indent: Off (unchecked)
3. Type the following (note that the words in <angled brackets> are keys
you should press, and should not be typed verbatim):
class asdf: <return>
pass <return>
After pressing <return> the first time, a tab is inserted at the
beginning of the next line. After the second time pressing <return>
(after "pass"), the correct behavior would be to remove the tab and
leave the following line unindented. Instead, Kate indents the next line
with a single space. I have tried this more tabs and it converted each
tab into a space on the following line, but I have been unable to
reliably reproduce the effect with multiple tabs.
** Affects: kdebase (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
Python indent mode doesn't unindent pass correctly with tabs
https://launchpad.net/bugs/71270
More information about the kubuntu-bugs
mailing list