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

Provide language support for subtitles and spacers #9

Closed
sanhozay opened this issue May 21, 2017 · 1 comment
Closed

Provide language support for subtitles and spacers #9

sanhozay opened this issue May 21, 2017 · 1 comment
Assignees

Comments

@sanhozay
Copy link
Owner

sanhozay commented May 21, 2017

Dummy checklist items are commonly used to create subtitles within checklists and for blank lines in the checklist dialog.

These can be created by defining dummy items in CLGen, but it is slightly cumbersome:

item("") {
    state("");
}

item("Subtitle:") {
    state("");
}

Some syntactic sugar could be added to the language to support these, e.g.

checklist("Climb") {
    check("Flaps", "UP");
    subtitle("Above 10,000ft:");
    check("Landing Lights", "OFF");
    check("Seat Belt Signs", "OFF");
}

These elements would create dummy elements in the items table without having to create them as dummy items in the .clg file.

@sanhozay sanhozay created this issue from a note in CLGen (Plan) May 21, 2017
@sanhozay sanhozay self-assigned this May 21, 2017
@sanhozay sanhozay moved this from Planned to Next in CLGen May 22, 2017
@sanhozay sanhozay moved this from Old to Pending Release in CLGen May 22, 2017
@sanhozay sanhozay removed this from Release in CLGen May 22, 2017
@sanhozay
Copy link
Owner Author

Added in 1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant