-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add table of contents to Gui/journal #1243
Conversation
Copying here from Discord: You can give it a frame style that renders gui.CLEAR_PEN like this: local INVISIBLE_FRAME = {
frame_pen=gui.CLEAR_PEN,
signature_pen=false,
} Also, there should be hotkeys to jump to prev/next heading for the keyboard-only users Hotkey buttons could be added to the bottom, underneath a horizontal The vertical widgets.Divider for the ToC can link into the bottom horizontal Divider if you use the same frame_style ( |
630c5b4
to
fff7aac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is awesome ; )
It works only in adventure beta 51.01+
Jump to previous/next section by ctrl+up/ctrl+down, working only in beta 51.01+
cec0dc5
to
17e3706
Compare
@myk002 there is a problem with
And similar errors |
Notes from playtesting: The initial empty screen looks stark and scary. I think we need to add some help text:
The help blurbs can be implemented as additional Possible main area help text:
Possible ToC help text:
|
merged so people can start testing a bit. We can figure out the help text in a different PR |
Description
Add table of contents and undo/redo features to the
gui/journal
script.Notable features:
#
give 1-th level ToC header.##
and more give more indented ToC linksCtrl+O
toggle ToCCTRL+Z
undo,CTRL+Y
redoBugfixes:
TODO later