chcg
chcg
@PatchaIT Which version of PythonScript?
I'm not able to reproduce the issue. With: > Notepad++ v8.5.7 (32-bit) > Build time : Sep 6 2023 - 23:07:35 > Path : C:\Users\...\npp.8.5.7.portable\notepad++.exe > Command Line : >...
Could be reproduced: ``` PY>10760 4627 3464693248 Consuming scintilla callbacks (beginning callback loop) PY>10760 4628 3464713626 Scintilla callback, got GIL, calling callback PY>10760 4629 3464713626 ScintillaWrapper::GetSelText PY>10760 4630 3464713626 Temp...
Seems there is a time gap between first call to `callScintilla(SCI_GETSELTEXT)` to get the size of the buffer and the real retrieval with `callScintilla(SCI_GETSELTEXT, 0, reinterpret_cast(*result));` and the buffersize of...
See https://github.com/notepad-plus-plus/notepad-plus-plus/blob/a99fa9ae50014a281d9eb1fe6622c02b1f7cdf29/PowerEditor/src/NppNotification.cpp#L881, but as the icons are separated from the menu items the automatic adding of the tooltip based on the menu item name is not working. Maybe it is...
The relevant code for the text selection is at https://github.com/bruderstein/PythonScript/blob/d0b420e1201fb062eaf60c0d8bf58e80ffe92fd4/PythonScript/src/PromptDialog.cpp#L69 Removing that line will leave the caret at the beginning of the unselected text. See https://cplusplus.com/forum/windows/40365/ for the further necessary...
There is a release for python3, see https://github.com/bruderstein/PythonScript/releases/tag/v3.0.9. But there is at least one obstacle to overcome for an official release - support for files with encodings that are not...
@Speravir It would be helpful to have some version information on windows version, N++, python plugin and the plugin list working vs. not working.
For the styling https://github.com/bruderstein/PythonScript/blob/651628e539c892751df3d48c7ef6f0b14604523c/PythonScript/src/ConsoleDialog.cpp#L418 needs to be adapted. And obviously all the new interfaces. @Yaron10 PT is probably PS v2.0, or?
As starting point see: https://github.com/bruderstein/PythonScript/blob/master/PythonScript/src/ScintillaPython.cpp#L55 and implementation at https://github.com/bruderstein/PythonScript/blob/master/PythonScript/src/ScintillaWrapper.cpp#L784-L864 (maybe related https://github.com/bruderstein/PythonScript/blob/3e0245161d87806a6c0bfad72dfcba72d8e7dcc3/PythonScript/src/PythonScript.cpp#L408-L412) Further investigations necessary to check if the request could be implemented.