shift keep relative position

Registered by Andreas Roehler

Whilst py-dedent may keep position in line, py-shift-... functions aren't able to.

At least, when working on region. Reason: region moves point being spread out.
When position shall be preserved, command must not start from region.

Thus a couple of commands py-shift-block, -def, etc. shall be introduced, which will restore relative position.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Andreas Roehler
Direction:
Needs approval
Assignee:
Andreas Roehler
Definition:
Discussion
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 6.0.3
Started by
Andreas Roehler
Completed by
Andreas Roehler

Related branches

Sprints

Whiteboard

done with r596

Enable useful actions with just one key.

Marking a region a costly operation: needs care and
distracts attention. These commands avoid these need.

Commands keeps relative position of cursor.
Return the outmost indent if successful.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.