     #    if cut == newElts.length # newElts.length > 1, so newElts[n-1] exists, not first and no need to fix pre
     #      newElts[n-1].post = cutElts[m].post
 
-    @withSelectedList (editor, textBuffer, bufferText, selectionIxRange, {sep: separator, elts: listElements}, [cutStart, cutEnd]) ->
+    @withSelectedList (editor, textBuffer, bufferText, selectionIxRange, {openBracket: openBracket, sep: separator, elts: listElements}, [cutStart, cutEnd]) ->
       if listElements.length == 0
         atom.notifications.addWarning 'List cut in empty list.'
       else


  copyCmd: ->
    console.log 'Executing command list-edit-copy'
    @withSelectedList (editor, textBuffer, bufferText, selectionIxRange, {sep: separator, elts: listElements}, [selStart,selEnd]) ->
      if listElements.length == 0
        atom.notifications.addWarning 'List copy in empty list.'
      else

  # and column nr of opening bracket for handling empty/one elt insertions (column nr is only for multi line lists)


  mkListEditMeta: (openBracket, separator) ->
    {id: 'list-edit-clip-meta', openBracket: openBracket, sep: separator}

  getListEditMeta: (clip) ->
    clip.metadata if clip?.metadata?.id == 'list-edit-clip-meta'
