mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Fixed #53: Clarification needed for TextDocumentContentChangeEvent
This commit is contained in:
parent
5031931372
commit
9913df598d
1 changed files with 3 additions and 2 deletions
|
|
@ -186,7 +186,7 @@ The protocol currently assumes that one server serves one tool. There is current
|
|||
|
||||
#### Position
|
||||
|
||||
Position in a text document expressed as zero-based line and character offset.
|
||||
Position in a text document expressed as zero-based line and character offset. A position is between two characters like an 'insert' cursor in a editor.
|
||||
|
||||
```typescript
|
||||
interface Position {
|
||||
|
|
@ -203,7 +203,8 @@ interface Position {
|
|||
```
|
||||
#### Range
|
||||
|
||||
A range in a text document expressed as (zero-based) start and end positions.
|
||||
A range in a text document expressed as (zero-based) start and end positions. A range is comparable to a selection in an editor. Therefore the end position is exclusive.
|
||||
|
||||
```typescript
|
||||
interface Range {
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue