(selection: SelectedLineRange)
| 49 | } |
| 50 | |
| 51 | function cloneSelection(selection: SelectedLineRange): SelectedLineRange { |
| 52 | const next: SelectedLineRange = { |
| 53 | start: selection.start, |
| 54 | end: selection.end, |
| 55 | } |
| 56 | |
| 57 | if (selection.side) next.side = selection.side |
| 58 | if (selection.endSide) next.endSide = selection.endSide |
| 59 | return next |
| 60 | } |
| 61 | |
| 62 | function cloneComment(comment: LineComment): LineComment { |
| 63 | return { |
no outgoing calls
no test coverage detected