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

Crash after 9 [[Choice]] #108

Closed
tooooofu opened this issue Oct 6, 2018 · 3 comments
Closed

Crash after 9 [[Choice]] #108

tooooofu opened this issue Oct 6, 2018 · 3 comments
Assignees
Milestone

Comments

@tooooofu
Copy link

tooooofu commented Oct 6, 2018

After building in 9 (or so) different [[Choice]] plugins in a snippet, Lintalist crashes upon reaching the 9th (or so) [[Choice]]. It will then display the Choice dialog, but nothing will work (enter, cancel, random) and also the software crashes (no reactions in the tray menu).

Thank you for looking into this.

@tooooofu
Copy link
Author

tooooofu commented Oct 6, 2018

Dividing the long snippet into 2 parts (e.g. into part 1 and part 2 of 1 snippet) will "solve" this issue, so that every part ends up with less than 9 [[Choice]]

@lintalist
Copy link
Owner

Thank you for reporting it, I can replicate it. Strange but I will look into it.

@lintalist
Copy link
Owner

I may have found the solution - if you want to try it and report back that would be great.

Close lintalist first just to be sure, there are two files you need to edit, both lines have the following code:
Gosub, ProcessText insert a ; in front of it e.g. ; Gosub, ProcessText - this will comment the code so it will skip that line of code when the program is run.

You should be able to edit these two files, plugins/choice.ahk and lintalist.ahk in - for example notepad - or other text editor you may be using. You can find them on these lines here:

Save the changed files and start lintalist, now try your 9+ choice snippet and hopefully it now works.

Let me know how it works out for you and if you notice anything else now that you've changed the code (perhaps other plugins act weird now, I have only tried it a few minutes)

@lintalist lintalist added this to the v1.9.7 milestone Oct 13, 2018
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

2 participants