Theia API Documentation v1.76.0
    Preparing search index...
    • Computes how far a scroll container must scroll so that the vertical range [rowTop, rowBottom], given in pixels relative to the top edge of the container's visible area, becomes fully visible. Negative values scroll up, positive values scroll down, 0 means the range is already visible.

      Parameters

      • rowTop: number
      • rowBottom: number
      • viewportHeight: number

      Returns number