-
Notifications
You must be signed in to change notification settings - Fork 206
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
gh-802: Macro API to report VMenu alignment state. Part 2: Plumbing and Lua API. #902
gh-802: Macro API to report VMenu alignment state. Part 2: Plumbing and Lua API. #902
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MKadaner , with regards to macro API:
- As I can see there are 4 possible return values: -1, 1, 2 and 4. Why the latter is
4
rather than3
? - Despite the macro section in Far Encyclopedia is outdated it would be desirable to add the description of
Menu.HorisontalAlignment
toenc\enc_rus\meta\macro\macrocmd\prop_func\menus.html
. - There are also 3 files
enc\enc_lua\macroapi_manual.??.tsi
that I can update myself after the PR is merged.
|
It is related to @HamRusTal's comment. If we want to add an enumeration, Of course, I am not strong on either of these. Please let me know how to proceed. I also noticed that the Please have a look at Encyclopedia and Lua Manual. |
No sense, as Encyclopedia (in Macro section) is in either case severely outdated. |
But there are a lot of things missing already. E.g.
|
@johnd0e |
…umbing and Lua API.
1cd9778
to
4f31e08
Compare
I did my best. Ready for review. I did not touch
|
Quality Gate passedIssues Measures |
@MKadaner |
@shmuz, thanks. It means that somewhere there is still some code which parses the string Let's merge this PR? |
|
Thank you |
Thank you all! |
Summary
Surfacing the state maintained by
vmenu_horizontal_tracker
to Lua macro.References
Checklist
If not checked, I accept that this work might be rejected in favor of a different great big ineffable plan.
Details
The following macro seems to work as expected:
@rohitab, may I ask you to give this new property a try? Does it suite your purpose? Do you need something more?