cleaning up
parent
51c6f70d01
commit
6e5018c3a3
|
|
@ -52,6 +52,7 @@ func (l *LogItem) ID() string {
|
||||||
return l.Container
|
return l.Container
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clone copies an item.
|
||||||
func (l *LogItem) Clone() *LogItem {
|
func (l *LogItem) Clone() *LogItem {
|
||||||
bytes := make([]byte, len(l.Bytes))
|
bytes := make([]byte, len(l.Bytes))
|
||||||
copy(bytes, l.Bytes)
|
copy(bytes, l.Bytes)
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ func (s *SelectTable) ToggleMark() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToggleSpanMark toggles marked row
|
// SpanMark toggles marked row
|
||||||
func (s *SelectTable) SpanMark() {
|
func (s *SelectTable) SpanMark() {
|
||||||
selIndex, prev := s.GetSelectedRowIndex(), -1
|
selIndex, prev := s.GetSelectedRowIndex(), -1
|
||||||
if selIndex <= 0 {
|
if selIndex <= 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue