class LSProtocol::InsertReplaceEdit
- LSProtocol::InsertReplaceEdit
- Reference
- Object
Overview
A special text edit to provide an insert and a replace operation.
@since 3.16.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(insert : Range | Nil, new_text : String | Nil, replace : Range | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#insert : Range
The range if the insert is requested
-
#new_text : String
The string to be inserted.
-
#replace : Range
The range if the replace is requested.