Skip to content

Commit b800432

Browse files
committed
removed bad files
1 parent d654e71 commit b800432

File tree

2 files changed

+6
-99
lines changed

2 files changed

+6
-99
lines changed

helper/protocolHelper.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ func FromProtocolRange(rang protocol.Range) token.Range {
3838

3939
func ToProtocolPosition(pos token.Position) protocol.Position {
4040
return protocol.Position{
41-
Line: uint32(pos.Line - 1),
42-
Character: uint32(pos.Column - 1),
43-
}
41+
Line: uint32(pos.Line - 1),
42+
Character: uint32(pos.Column - 1),
43+
}
4444
}
4545

4646
func FromProtocolPosition(pos protocol.Position) token.Position {
4747
return token.Position{
48-
Line: uint(pos.Line + 1),
49-
Column: uint(pos.Character + 1),
50-
}
48+
Line: uint(pos.Line + 1),
49+
Column: uint(pos.Character + 1),
50+
}
5151
}
5252

5353
// returns the length of a token.Range

helper/protocolHelper.go~

Lines changed: 0 additions & 93 deletions
This file was deleted.

0 commit comments

Comments
 (0)