Skip to content
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 a "popout" window #25

Open
HiEv opened this issue Oct 24, 2020 · 1 comment
Open

Add a "popout" window #25

HiEv opened this issue Oct 24, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request investigate Information gathering is needed

Comments

@HiEv
Copy link

HiEv commented Oct 24, 2020

As a fix for the "long return" problem for the <<return>> macro (see issue #19), how about adding a "popout" tag which could be added to passages, and rather than them going to a new passage, it would simply pop the content over top of the current passage in a closeable window (similar to a dialog, but covers up the passage entirely).

Once you close the "popout" window, then you'll still be right where you left off. Going to a non-"popout" passage would also close the "popout" window. If you went from one "popout" passage to another, it would simply close the existing popout window, and then open the "new" popout window (same "window" but with the new "popout" passage's content). <<back>> and <<return>> would also close the "popout" window, though I'm not sure if/how you'd want to handle undoing variable changes in the <<back>> case.

You might also want to create a :popoutClose event and/or <<popoutClose>> macro (for use in "popout" tagged passages) so that they can trigger other code when the "popout" window is closed.

@tmedwards tmedwards self-assigned this Oct 28, 2020
@tmedwards tmedwards added enhancement New feature or request investigate Information gathering is needed labels Oct 28, 2020
@HiEv
Copy link
Author

HiEv commented Oct 6, 2021

If you're interested, I've recently added the "SlideWin Overlay" section to my sample code collection which demonstrates some of what I discussed above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigate Information gathering is needed
Projects
None yet
Development

No branches or pull requests

2 participants