Skip to content

Commit b56a40f

Browse files
committed
Clarify client responsibility to convert selection into a position.
1 parent bbdbaea commit b56a40f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_specifications/specification-3-16.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ interface VersionedTextDocumentIdentifier extends TextDocumentIdentifier {
936936

937937
Was `TextDocumentPosition` in 1.0 with inlined parameters.
938938

939-
A parameter literal used in requests to pass a text document and a position inside that document.
939+
A parameter literal used in requests to pass a text document and a position inside that document. It is up to the client to decide how a selection is converted into a position when issuing a request for a text document. The client can for example honor or ignore the selection direction to make LSP request consistent with features implemented internally.
940940

941941
```typescript
942942
interface TextDocumentPositionParams {

0 commit comments

Comments
 (0)