anchor.diff:    (var result
       (object
         mode mode                ;; [enum] - current processing mode (INDENT_MODE or PAREN_MODE)
  -      isNewlineMode false      ;; [boolean] - Newline Mode safely transforms the code when pressing enter in Indent Mode,
  -                               ;;             by splitting the cursor line with Paren Mode.
   
         origText text            ;; [string] - original text
         origCursorX SENTINEL_NULL
  
positive.code:       cursorDx SENTINEL_NULL      ;; [integer] - amount that the cursor moved horizontally if something was inserted or deleted
        previewCursorScope false    ;; [boolean] - preview the cursor's scope on an empty line by inserting close-parens after it.
        canPreviewCursorScope false ;; [boolean] - determines if the cursor is in a valid position to allow previewing scope
  
        isInCode true            ;; [boolean] - indicates if we are currently in "code space" (not string or comment)
        isEscaping false         ;; [boolean] - indicates if the next character will be escaped (e.g. `\c`).  This may be inside string, comment, or code.
  
negative.code:        tabStops: result.tabStops})))
  
  (function indentMode (text options)
    (set options (parseOptions options))
    (var result)
    (when options.pressedEnter
      (set options.stabilizeNewline true)
      (set result (processText text options PAREN_MODE))
      (set options.stabilizeNewline false)
      (set options.cursorX result.cursorX)
      (set text result.text))
    (set result (processText text options INDENT_MODE))
    (publicResult result))
  
  (function parenMode (text options)
    (set options (parseOptions options))
    (var result (processText text options PAREN_MODE))
    (publicResult result))
  
  (var API
  