-
Notifications
You must be signed in to change notification settings - Fork 3
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
Vocola does not handle contextual commands correct #1
Comments
I basically found the error, but I did not succeed to delve into the vocola compiler via a debugger in order to see what happens exactly. Also printing info is very difficult as things are wrapped very deep. |
I put my "manual"fix file in the The essentials:
So a simplified The essentials in the .vcl file are, giving those two extra contexts (apart from the default one):
|
Merge pull request #5 from dougransom/master
I was able to reproduce this with the following file: KnowBrainer: is this KnowBrainer = MsgBoxConfirm("absolutely", 64, "Debug info"); : is this chrome = MsgBoxConfirm("chrome is here", 64, "Debug info"); When I switch to a different tab, the Vocola grammar file deactivates just the rule for KnowBrainer but somehow that also stops the rule for the global context as well. This appears to be a Dragon bug. Adding debugging to NatLink code shows it isn't doing anything funny -- its state mirrors what Vocola thinks it should be. |
fixed in version 2.9 |
Hi Mark, I now see, that I noticed this problem long time ago. Forgot about this. You now say "fixed in version 2.9", but I see no changes in the github source code, and no new pip version. Could we have contact about this, and preferably with Doug Ransom too, as he recently streamlined the release on pip procedure. Thanks, Quintijn |
BTW, on my computer the contextual commands work well. I really don't know what might be the cause of them not functioning for other users! |
version 2.9 is currently on a branch, dragonfly. I will merge it into master once I have released 2.8.8 |
When using contextual commands in a Vocola "grammar", rules are not reswitched on when the context re-appears. In fact nog rules are switched on when a specific context is lost.
This should be solved in the Vocola python generating files in C:\DT\Natlink\Vocola\exec\vcl2py (DT being my root directory).
Also see https://www.knowbrainer.com/forums/forum/messageview.cfm?catid=25&threadid=34503&enterthread=y
The text was updated successfully, but these errors were encountered: