bugDenemo - Bugs: bug #31513, d-DeleteSelection should not...

 
 

bug #31513: d-DeleteSelection should not delete the empty measures

Submitted by:  -Deleted Account- <steele>
Submitted on:  Mon 01 Nov 2010 11:17:43 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 01 Nov 2010 11:17:43 PM UTC, original submission:

Currently we have no way of just deleting the objects of a selection but leaving the measures intact.

All basic, and scripted commands, destroy the selection after deleting a single object. But deleting a selection through recursion with this is not possible.

d-DeleteSelection is the only command that can delete a selection (besides d-Cut) but does delete the measures, too.

DeleteSelection is ONLY used in intelligentDelete currently so its still safe to change the behaviour.

What we need is either a change in DeleteSelection to not delete the empty measures and leave that to a scheme script, if desired (the very reason why I'm sending this request is that I don't like my own IntelligentDelete anymore and don't want to delete measures).
Or we need a DeleteSingleObject without touching the rest of the selection. I once heard this was hard to do so maybe the first option is well enough.

The Scheme versions would be hacks currently:

a) place a directive at the start of the selection and then backspacing from the end to the start directive.

b) pop and push the selection and do d-Cut in between.

While I don't like a) I find b) unacceptable.

There is c) which would be something like remembering the range of the selection (with directive/markers?) and then recreating the selection each time. This is some kind of DeleteSingleObject hack.

-Deleted Account- <steele>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by steele (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Mar 2011 05:28:45 PM UTCsteeleStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1