• Parameters

    • session: EditSession
    • options: {
          keepCursorPosition: boolean;
          trimEmpty: boolean;
      }
      • keepCursorPosition: boolean

        do not trim whitespace before the cursor

      • trimEmpty: boolean

        trim empty lines too

    Returns void

Generated using TypeDoc