-
Notifications
You must be signed in to change notification settings - Fork 66
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
add SCN_MARGINRIGHTCLICK returns #251
Conversation
I would have expected that this is created automatically via script PythonScript/PythonScript/src/Scintilla.iface Lines 3358 to 3390 in e20e1a2
but that seems to be not the case for notifications and therefore all notifications need to be checked if they are still uptodate. |
Should that be done in a separate pull request? This one addresses the open issue for Cheers. |
A quick glance between the PythonScript 'Scintilla.h' (PythonScript\PythonScript\src\Scintilla.h), the Scintilla docs and the 'ScintillaWrapper.cpp' file yields this: case SCN_CHARADDED:
params["ch"] = notifyCode->ch;
+ params["characterSource"] = notifyCode->characterSource;
break;
case SCN_USERLISTSELECTION:
+ params["ch"] = notifyCode->ch;
+ params["listCompletionMethod"] = notifyCode->listCompletionMethod;
params["text"] = notifyCode->text;
params["listType"] = notifyCode->listType;
params["position"] = notifyCode->position;
break;
case SCN_AUTOCSELECTION:
+ params["ch"] = notifyCode->ch;
+ params["listCompletionMethod"] = notifyCode->listCompletionMethod;
params["text"] = notifyCode->text;
params["position"] = notifyCode->position;
break;
+ case SCN_AUTOCSELECTIONCHANGE:
+ params["position"] = notifyCode->position;
+ params["text"] = notifyCode->text;
+ params["listType"] = notifyCode->listType;
+ case SCN_AUTOCCOMPLETED:
+ params["listCompletionMethod"] = notifyCode->listCompletionMethod;
+ break; Would obviously need to update the 'PythonScript\docs\source\enums.rst' file as well for documentation. Shall I open a separate issue / PR for these? Cheers. |
Maybe this explains why? PythonScript/PythonScript/src/CreateWrapper.py Lines 784 to 789 in ceacdcf
|
@vinsworldcom It was more a remainder to me that the check would be necessary. But if you are willing to create a new PR for that I would be happy. |
fix #250 .
Output of test script now with left-click and then right-click (with expected output):
(tested using the AppVeyor artifact : https://ci.appveyor.com/project/bruderstein/pythonscript/builds/45246939 "Release/64-bit")
Cheers.