Merge pull request #917 from mispencer/CsGotoOffOneLineColumn

CSharp GoTo is off by one column and line
This commit is contained in:
Val Markovic 2014-03-31 10:38:56 -07:00
commit 833d3b968c

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' )