We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e047b0b commit 0d4f907Copy full SHA for 0d4f907
packages/phoenix/src/puter-shell/coreutils/sed/address.js
@@ -56,6 +56,10 @@ export class AddressRange {
56
this.leaveRangeNextLine = false;
57
}
58
59
+ get addressCount() {
60
+ return (this.start ? 1 : 0) + (this.end ? 1 : 0);
61
+ }
62
+
63
updateMatchState(lineNumber, line) {
64
// Only ranges have a state to update
65
if (!(this.start && this.end)) {
0 commit comments