     textBuffer = editor.getBuffer()
     bufferText = textBuffer.getText()
 
-    listIxRanges = @getListIxRanges bufferText, textBuffer.characterIndexForPosition(cursorPos)
+    listIxRanges = @getListIxRanges bufferText, textBuffer.characterIndexForPosition cursorPos
 
     # Atom bug?
     # fn = textBuffer.positionForCharacterIndex

    console.log elementRanges
    elementRanges

  showIxRanges: (bufferText, ranges) ->
    for ixRange in ranges
      console.log 'ixRange: '+ ixRange[0] + ' <-> ' + ixRange[1] + ': >>' + bufferText.substr(ixRange[0], ixRange[1] - ixRange[0]) + '<<'


  # hacky first versions of bracket-character functions:

# Some test lists:
# [1,[1,2,[ ,, ]]]
# [dsd,[kdd], "ddd"]
# [ Blinky, Inky, [some, inner, nesting], Pinky,[ j] ,kjl, (1,2,3), jkj]
