redo redoes next group of items on the undo stack, and returns the last record, nil if no more
()
| 837 | // redo redoes next group of items on the undo stack, |
| 838 | // and returns the last record, nil if no more |
| 839 | func (tb *Buffer) redo() []*text.Edit { |
| 840 | autoSave := tb.batchUpdateStart() |
| 841 | defer tb.batchUpdateEnd(autoSave) |
| 842 | tbe := tb.Lines.Redo() |
| 843 | if tbe != nil { |
| 844 | tb.signalMods() |
| 845 | } |
| 846 | return tbe |
| 847 | } |
| 848 | |
| 849 | ///////////////////////////////////////////////////////////////////////////// |
| 850 | // LineColors |
nothing calls this directly
no test coverage detected