mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Cleanup: remove unused method RangeStartLineIdx
This commit is contained in:
parent
3610f13418
commit
2f1564d288
1 changed files with 0 additions and 8 deletions
|
@ -276,11 +276,3 @@ func (s *State) CalculateOrigin(currentOrigin int, bufferHeight int, numLines in
|
|||
|
||||
return calculateOrigin(currentOrigin, bufferHeight, numLines, firstLineIdx, lastLineIdx, s.GetSelectedLineIdx(), s.selectMode)
|
||||
}
|
||||
|
||||
func (s *State) RangeStartLineIdx() (int, bool) {
|
||||
if s.selectMode == RANGE {
|
||||
return s.rangeStartLineIdx, true
|
||||
}
|
||||
|
||||
return 0, false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue