CSharp GoTo was off by one column and line

This commit is contained in:
Spencer G. Jones 2014-03-14 10:57:24 -06:00
parent 136b80cd88
commit 439450d3bd

View File

@ -206,8 +206,8 @@ class CsharpCompleter( Completer ):
self._DefaultParameters( request_data ) )
if definition[ 'FileName' ] != None:
return responses.BuildGoToResponse( definition[ 'FileName' ],
definition[ 'Line' ],
definition[ 'Column' ] )
definition[ 'Line' ] - 1,
definition[ 'Column' ] - 1 )
else:
raise RuntimeError( 'Can\'t jump to definition' )