     @endBufferPosition = null
     @endScreenPosition = null
     @text = null
-    @openTags = null
-    @closeTags = null
+    @openTags = EMPTY_ARRAY
+    @closeTags = EMPTY_ARRAY
     @containingTags = null
     @tagsToReopen = null
 

    @containingTags

  moveToSuccessor: ->
    if @closeTags?
      for tag in @closeTags
        @containingTags.splice(@containingTags.lastIndexOf(tag), 1)

    if @openTags?
      @containingTags.push(@openTags...)

    @startScreenPosition = @endScreenPosition
    @startBufferPosition = @endBufferPosition
    @closeTags = null
    @openTags = null

    advanceToNextLine = true
    if @decorationIterator? and isEqualPoint(@startBufferPosition, @decorationIterator.getPosition())

      if @isFold()
        @closeTags = @containingTags.slice()
        @containingTags.length = 0
        @openTags = EMPTY_ARRAY
        @tagsToReopen = @decorationIterator.seek(@getEndBufferPosition())
      else
        decorationIteratorPosition = @decorationIterator.getPosition()
