summaryrefslogtreecommitdiff
path: root/editor/state
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 15:22:26 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commitf6a1a4f2f44e0af679467620f89d0732021cf934 (patch)
tree96e765c303a53fc246b56dba9137a9d836365e0e /editor/state
parent28417d795a6922c3df3c2c0aea78a51648b0428e (diff)
Use the common fileLoader element
Diffstat (limited to 'editor/state')
-rwxr-xr-xeditor/state/state.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/state/state.mli b/editor/state/state.mli
index 2f3e9c4..4376723 100755
--- a/editor/state/state.mli
+++ b/editor/state/state.mli
@@ -24,6 +24,7 @@ val state_of_storage
val load_page
: Jstr.t option -> t -> t
+(** Create a new empty page, and load it *)
val new_page
: Jstr.t option -> title:Jstr.t -> t -> t