mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
implement raw data storage
This commit is contained in:
parent
6d9e5accde
commit
38203c2ffe
1 changed files with 9 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ class Data
|
||||||
{
|
{
|
||||||
public \GtkLabel $gtk;
|
public \GtkLabel $gtk;
|
||||||
|
|
||||||
|
// Extras
|
||||||
|
public ?string $raw = null;
|
||||||
|
|
||||||
// Dependencies
|
// Dependencies
|
||||||
public \Yggverse\Yoda\Entity\Browser\Container\Page\Content $content;
|
public \Yggverse\Yoda\Entity\Browser\Container\Page\Content $content;
|
||||||
|
|
||||||
|
|
@ -98,6 +101,8 @@ class Data
|
||||||
$this->gtk->set_text(
|
$this->gtk->set_text(
|
||||||
$value
|
$value
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->raw = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setMono(
|
public function setMono(
|
||||||
|
|
@ -112,6 +117,8 @@ class Data
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->raw = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGemtext(
|
public function setGemtext(
|
||||||
|
|
@ -274,6 +281,8 @@ class Data
|
||||||
$line
|
$line
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->raw = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function _wrap(
|
private function _wrap(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue