I want to determine the status of the Full/Partial select toggle.
printf("F/P setting: %L" envGetVal( "layout" "partialSelect") )
always prints a nil.
Am I using the correct function? Ideas anyone?
The envGetVal() method gets the default setting for the session, but it is also a per-window setting.
You can get the current window partial select setting using something like the following:
You can see other per-window settings (such as x and y snap spacing) using hiGetCurrentWindow()->??
Hope this helps.
Thanks - I made the adjustment in my code and all is good!!