anchor.diff:        (correctParenTrail result result.x))
   
       (= result.mode PAREN_MODE)
  -    (when (&& result.isNewlineMode (= result.cursorLine result.lineNo))
  -      (splitLineForStability result))
  -    (correctIndent result)))
  +    (do
  +      (when (&& result.stabilizeNewline (= result.cursorLine result.lineNo))
  +        (splitLineForStability result))
  +      (correctIndent result))))
   
   (function onLeadingCloseParen (result)
     (set result.skipChar true)
  
positive.code:   (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
  
negative.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
  
        pressedEnter false
        stabilizeNewline false
  
        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.
  