File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/PowerShellEditorServices.Protocol Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public class Hover
23
23
{
24
24
public MarkedString [ ] Contents { get ; set ; }
25
25
26
- public Range ? Range { get ; set ; }
26
+ public Range Range { get ; set ; }
27
27
}
28
28
29
29
public class HoverRequest
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ public class TextDocumentChangeEvent
237
237
/// Gets or sets the Range where the document was changed. Will
238
238
/// be null if the server's TextDocumentSyncKind is Full.
239
239
/// </summary>
240
- public Range ? Range { get ; set ; }
240
+ public Range Range { get ; set ; }
241
241
242
242
/// <summary>
243
243
/// Gets or sets the length of the Range being replaced in the
@@ -267,7 +267,7 @@ public class Position
267
267
}
268
268
269
269
[ DebuggerDisplay ( "Start = {Start.Line}:{Start.Character}, End = {End.Line}:{End.Character}" ) ]
270
- public struct Range
270
+ public class Range
271
271
{
272
272
/// <summary>
273
273
/// Gets or sets the starting position of the range.
Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ protected Task HandleDidChangeTextDocumentNotification(
538
538
539
539
changedFile . ApplyChange (
540
540
GetFileChangeDetails (
541
- textChange . Range . Value ,
541
+ textChange . Range ,
542
542
textChange . Text ) ) ;
543
543
544
544
changedFiles . Add ( changedFile ) ;
@@ -870,7 +870,7 @@ await editorSession
870
870
textDocumentPositionParams . Position . Character + 1 ) ;
871
871
872
872
List < MarkedString > symbolInfo = new List < MarkedString > ( ) ;
873
- Range ? symbolRange = null ;
873
+ Range symbolRange = null ;
874
874
875
875
if ( symbolDetails != null )
876
876
{
You can’t perform that action at this time.
0 commit comments