Handle copy-paste in auto-indent mode better [$75]
Bug #1039278 reported by
Sergey "Shnatsel" Davidoff
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.
Related branches
lp:~jamespxl/scratch/preserve-indent
- Cody Garver (community): Approve
-
Diff: 306 lines (+283/-0)4 files modifiedplugins/CMakeLists.txt (+1/-0)
plugins/preserve-indent/CMakeLists.txt (+30/-0)
plugins/preserve-indent/preserve-indent.plugin (+10/-0)
plugins/preserve-indent/preserve-indent.vala (+242/-0)
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 |
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 |
Changed in scratch: | |
assignee: | nobody → James (jamespxl) |
milestone: | feature-future → freya-0.3.1 |
status: | Confirmed → In Progress |
Changed in scratch: | |
status: | In Progress → Fix Committed |
Changed in scratch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This seems semi-reliant on auto-detecting tabs/spaces for indentation. https:/ /bugs.launchpad .net/scratch/ +bug/1224197