Where the default scripted editor's document comes from. More...
#include <editor_ui.hpp>
Public Member Functions | |
| bool | available () const noexcept |
| bool | embedded () const noexcept |
| std::string | label () const |
| What log lines call the document. | |
Public Attributes | |
| std::filesystem::path | script_path |
| Set when the editor reads this file (and its sibling theme.json) from disk; empty when it evaluates script_source. | |
| std::string | script_source |
| std::string | theme_source |
| std::string | script_name |
| std::vector< view::WidgetBridge::EmbeddedAsset > | embedded_assets |
| Files embedded beside an embedded script; empty for an on-disk document. | |
Where the default scripted editor's document comes from.
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
What log lines call the document.
| std::vector<view::WidgetBridge::EmbeddedAsset> pulp::format::EditorUiSource::embedded_assets |
Files embedded beside an embedded script; empty for an on-disk document.
| std::string pulp::format::EditorUiSource::script_name |
| std::filesystem::path pulp::format::EditorUiSource::script_path |
Set when the editor reads this file (and its sibling theme.json) from disk; empty when it evaluates script_source.
| std::string pulp::format::EditorUiSource::script_source |
| std::string pulp::format::EditorUiSource::theme_source |