(newText string, line, character, prefixLength protocol.UInteger)
| 5532 | } |
| 5533 | |
| 5534 | func textEdit(newText string, line, character, prefixLength protocol.UInteger) protocol.TextEdit { |
| 5535 | return protocol.TextEdit{ |
| 5536 | NewText: newText, |
| 5537 | Range: protocol.Range{ |
| 5538 | Start: protocol.Position{ |
| 5539 | Line: line, |
| 5540 | Character: character - prefixLength, |
| 5541 | }, |
| 5542 | End: protocol.Position{ |
| 5543 | Line: line, |
| 5544 | Character: character, |
| 5545 | }, |
| 5546 | }, |
| 5547 | } |
| 5548 | } |
| 5549 | |
| 5550 | func createFileStructure(t *testing.T) string { |
| 5551 | dir, err := os.MkdirTemp(os.TempDir(), fmt.Sprintf("%v-%v", t.Name(), time.Now().UnixMilli())) |
no outgoing calls
no test coverage detected