CSharp GoTo was off by one column and line
This commit is contained in:
parent
136b80cd88
commit
439450d3bd
@ -206,8 +206,8 @@ class CsharpCompleter( Completer ):
|
|||||||
self._DefaultParameters( request_data ) )
|
self._DefaultParameters( request_data ) )
|
||||||
if definition[ 'FileName' ] != None:
|
if definition[ 'FileName' ] != None:
|
||||||
return responses.BuildGoToResponse( definition[ 'FileName' ],
|
return responses.BuildGoToResponse( definition[ 'FileName' ],
|
||||||
definition[ 'Line' ],
|
definition[ 'Line' ] - 1,
|
||||||
definition[ 'Column' ] )
|
definition[ 'Column' ] - 1 )
|
||||||
else:
|
else:
|
||||||
raise RuntimeError( 'Can\'t jump to definition' )
|
raise RuntimeError( 'Can\'t jump to definition' )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user