mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-25 12:24:47 +02:00
Cleanup: remove unused method RangeStartLineIdx
This commit is contained in:
parent
3610f13418
commit
2f1564d288
@ -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…
x
Reference in New Issue
Block a user