Definition agent_context.hpp:7
bool launch_editor_url(std::string_view url, std::string *error=nullptr)
Hand an editor URL to the OS handler.
SourceJumpResult jump_to_source(const InspectorConfig &config, const pulp::view::View *view, bool dry_run)
Convenience: resolve + launch in one call.
SourceJumpResult resolve_source_jump(const InspectorConfig &config, const pulp::view::View *view)
Resolve the source-jump target for view using config's editor URL template (with environment override...
Hover-cursor tracking for platform window hosts.
Definition fwd.hpp:27
@ error
Definition design_ir.hpp:697
Inspector runtime configuration.
Definition editor_url.hpp:38
Outcome of a source-jump resolution.
Definition source_jump.hpp:34
bool ok
Definition source_jump.hpp:35
std::string error
Human-readable failure reason (empty on ok).
Definition source_jump.hpp:41
int col
Resolved 1-based column (0 = unknown).
Definition source_jump.hpp:39
bool launched
True if the URL was handed to the OS.
Definition source_jump.hpp:40
int line
Resolved 1-based line (0 = unknown).
Definition source_jump.hpp:38
std::string url
Formatted editor URL (empty on failure).
Definition source_jump.hpp:36
std::string path
Resolved source file path.
Definition source_jump.hpp:37