Handle copy-paste in auto-indent mode better [$75]

Bug #1039278 reported by Sergey "Shnatsel" Davidoff
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
Wishlist
James

Bug Description

In auto-indent mode if I copy code indented with 1 tab to a place indented with 2 tabs, the first line becomes indented with 3 tabs while others remain at 1 tab. Indenting all of them with 2 tabs is more like auto-indent.
Indentation relative to that of the first line should be preserved.

Tags: bounty

Related branches

Changed in scratch:
importance: Undecided → Wishlist
summary: - Handle copy-paste in auto-indent mode
+ Handle copy-paste in auto-indent mode better
Changed in scratch:
status: New → Confirmed
milestone: none → 2.0
Changed in scratch:
milestone: 2.0.1 → 2.1
Cody Garver (codygarver)
Changed in scratch:
milestone: isis-beta1 → feature-future
summary: - Handle copy-paste in auto-indent mode better
+ Handle copy-paste in auto-indent mode better [$50]
tags: added: bounty
Revision history for this message
Lewis Goddard (lewisgoddard) wrote :

This seems semi-reliant on auto-detecting tabs/spaces for indentation. https://bugs.launchpad.net/scratch/+bug/1224197

summary: - Handle copy-paste in auto-indent mode better [$50]
+ Handle copy-paste in auto-indent mode better [$75]
Cody Garver (codygarver)
Changed in scratch:
assignee: nobody → James (jamespxl)
milestone: feature-future → freya-0.3.1
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in scratch:
status: In Progress → Fix Committed
Cody Garver (codygarver)
Changed in scratch:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.