Documentation

Lapis.Concurrent.VfsActor

Document Snapshot #

An immutable snapshot of a document for use by request handlers. This can be freely shared across threads.

Instances For

    Get a line from the snapshot

    Equations
    Instances For
      def Lapis.Concurrent.VfsActor.DocumentSnapshot.getText (snap : DocumentSnapshot) (startLine startChar endLine endChar : Nat) :

      Get text in a range

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        VFS Messages #

        Messages that the VFS actor can receive

        Instances For

          VFS Actor State #

          Internal state of the VFS actor

          Instances For

            VFS Actor Reference #

            A handle to communicate with the VFS actor

            Instances For

              Apply changes to a document (fire and forget)

              Equations
              Instances For

                Get a snapshot of a document (blocking request-response)

                Equations
                Instances For

                  Get a specific line

                  Equations
                  Instances For

                    Convert byte offset to position

                    Equations
                    Instances For

                      Helper Functions #

                      VFS Actor Implementation #

                      Spawn the VFS actor

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For