Skip to content

Add a "popout" window #25

@HiEv

Description

@HiEv

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestinvestigateInformation gathering is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions