()
| 1263 | } |
| 1264 | |
| 1265 | func (nav *nav) toggle() { |
| 1266 | if curr := nav.currFile(); curr != nil { |
| 1267 | nav.toggleSelection(curr.path) |
| 1268 | } |
| 1269 | } |
| 1270 | |
| 1271 | func (nav *nav) tagToggleSelection(path, tag string) { |
| 1272 | if _, ok := nav.tags[path]; ok { |
no test coverage detected