Skip to content
Developer Preview

LogPhysicalLineParams

Experimental

log/physicalLine notification params (ADR 58371 D6): one chunk of one complete physical line; the chunks concatenated plus \n are the line.

  • chunk — Experimental
  • data — Experimental
  • endOffset — Experimental
  • ordinal — Experimental
  • startOffset — Experimental
  • subscriptionId — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/LogPhysicalLineParams

{
"description": "`log/physicalLine` notification params (ADR 58371 D6): one chunk of one\ncomplete physical line; the chunks concatenated plus `\\n` are the line.",
"properties": {
"chunk": {
"$ref": "#/$defs/PhysicalChunk",
"description": "This chunk's place in the line."
},
"data": {
"description": "The chunk's UTF-8 text, split on a character boundary.",
"type": "string"
},
"endOffset": {
"description": "The offset of the line's terminating newline (exclusive end).",
"type": "integer"
},
"ordinal": {
"description": "The line's ordinal (from the cursor's `nextOrdinal`).",
"type": "integer"
},
"startOffset": {
"description": "The line's first byte offset.",
"type": "integer"
},
"subscriptionId": {
"description": "The producing subscription.",
"type": "integer"
}
},
"required": [
"chunk",
"data",
"endOffset",
"ordinal",
"startOffset",
"subscriptionId"
],
"type": "object",
"x-msp-descriptor": "log/physicalLine",
"x-msp-stability": "experimental"
}