Give tableSite an isFormat beside isCell

This commit is contained in:
2026-09-30 21:37:10 +02:00
committed by Lillem4n
parent e9b8216116
commit 492772b995
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -73,6 +73,10 @@ func (s tableSite) isCell() bool {
return s.table != nil && s.row != formatRow
}
func (s tableSite) isFormat() bool {
return s.table != nil && s.row == formatRow
}
// label names the template at path in an error, a cell by its line in the rows file.
func (s tableSite) label(path string) string {
if s.isCell() {