Message286826
The user is going to have to outdent anyway if we return them to the previous indentation level. Essentially it would be this:
[ENTER]
set_cursor_to_previous_indentation_level()
if first_char_in_is_space:
erase_first_char_in()
reset_cursor_to_zero_indentation()
type_first_char()
else:
pass
So if we have this line:
some_line
[ENTER]
some_line
^
[BACKSPACEX4]
some_line
^
<---- cursor direction
The other case is
some_line
[ENTER]
some_line
^
[SPACEX4]
some_line
^
----> cursor direction
Does that make sense? |
|
Date |
User |
Action |
Args |
2017-02-02 21:13:57 | xoviat | set | recipients:
+ xoviat, brett.cannon, terry.reedy, serhiy.storchaka, emilyemorehouse, Jim Fasarakis-Hilliard |
2017-02-02 21:13:57 | xoviat | set | messageid: <1486070037.9.0.377823224578.issue29339@psf.upfronthosting.co.za> |
2017-02-02 21:13:57 | xoviat | link | issue29339 messages |
2017-02-02 21:13:57 | xoviat | create | |
|