       if isEqualPoint(@startScreenPosition, @patchIterator.getOutputEnd())
         @patchIterator.moveToSuccessor()
 
-    if @tagsToReopen?
+    if @tagsToReopenAfterFold?
       for tag in @closeTags
-        @tagsToReopen.splice(@tagsToReopen.lastIndexOf(tag), 1)
+        @tagsToReopenAfterFold.splice(@tagsToReopenAfterFold.lastIndexOf(tag), 1)
       @closeTags = EMPTY_ARRAY
-      @openTags = @tagsToReopen.concat(@openTags)
-      @tagsToReopen = null
+      @openTags = @tagsToReopenAfterFold.concat(@openTags)
+      @tagsToReopenAfterFold = null
 
     @assignEndPositionsAndText()
     true

    @openTags = EMPTY_ARRAY
    @closeTags = EMPTY_ARRAY
    @containingTags = null
    @tagsToReopen = null

  seekToScreenRow: (screenRow) ->
    @startScreenPosition = Point(screenRow, 0)

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

