Return each non-empty line as a netlist command string.
(self)
| 36 | super().focusOutEvent(event) |
| 37 | |
| 38 | def commands(self) -> list[str]: |
| 39 | """Return each non-empty line as a netlist command string.""" |
| 40 | return [ln for ln in self.toPlainText().splitlines() if ln.strip()] |