setFilenames sets the filenames and updates markup accordingly. Called in DiffStrings
()
| 191 | // setFilenames sets the filenames and updates markup accordingly. |
| 192 | // Called in DiffStrings |
| 193 | func (dv *DiffEditor) setFilenames() { |
| 194 | dv.bufferA.SetFilename(dv.FileA) |
| 195 | dv.bufferB.SetFilename(dv.FileB) |
| 196 | dv.bufferA.Stat() |
| 197 | dv.bufferB.Stat() |
| 198 | } |
| 199 | |
| 200 | // syncEditors synchronizes the text [Editor] scrolling and cursor positions |
| 201 | func (dv *DiffEditor) syncEditors(typ events.Types, e events.Event, name string) { |
no test coverage detected