(diff string, view *gocui.View)
| 424 | } |
| 425 | |
| 426 | func wrapPatchLines(diff string, view *gocui.View) ([]int, []int) { |
| 427 | _, viewLineIndices, patchLineIndices := utils.WrapViewLinesToWidth( |
| 428 | view.Wrap, view.Editable, strings.TrimSuffix(diff, "\n"), view.InnerWidth(), view.TabWidth) |
| 429 | return viewLineIndices, patchLineIndices |
| 430 | } |
| 431 | |
| 432 | func (s *State) SelectNextStageableLineOfSameIncludedState(includedLines []int, included bool) { |
| 433 | _, lastLineIdx := s.SelectedPatchRange() |
no test coverage detected