We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f5650e commit 8157f36Copy full SHA for 8157f36
src/CodeSnippet.php
@@ -147,6 +147,11 @@ public function getLineNumbers(): array
147
return array_keys($this->getLines());
148
}
149
150
+ public function getSelectedBounds(): Bounds
151
+ {
152
+ return Bounds::create($this->getLineNumberStart(), $this->getLineNumberEnd());
153
+ }
154
+
155
public function toString()
156
{
157
$result = '';
0 commit comments