diff options
Diffstat (limited to 'src/Core.zig')
| -rw-r--r-- | src/Core.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Core.zig b/src/Core.zig index ecfd8fa7..c57818ee 100644 --- a/src/Core.zig +++ b/src/Core.zig @@ -438,6 +438,10 @@ pub const setMessage = Messages.setMessage; pub const reportError = Messages.reportError; pub const reportFailure = Messages.reportFailure; +/// What an edit of a text runs with (Editor.zig), gathered from this core: +/// called from everywhere as `edit.f(p.editor(), t, ...)`. +pub const editor = pardes.Editor.of; + /// Running a builtin line, called from everywhere as /// `p.executeBuiltinLine(...)`; it lives with the rest of exec in exec.zig. pub const executeBuiltinLine = exec.executeBuiltinLine; |
