Ekopalypse

Results 107 comments of Ekopalypse

I guess a picture explains it better than what I wrote ![image](https://user-images.githubusercontent.com/47723516/82762410-2c15bf00-9e01-11ea-8be2-8f4566563fe4.png)

By changing the code for getStringFromObject to ~~~c std::string ScintillaWrapper::getStringFromObject(boost::python::object o) { std::string raw; if (PyUnicode_Check(o.ptr())) { boost::python::object utf8Text = o.attr("__str__")(); raw = std::string(boost::python::extract(utf8Text)); } else if(PyBytes_Check(o.ptr())) { raw.assign(PyBytes_AsString(o.ptr()), PyBytes_Size(o.ptr()));...

If I understand the documentation correctly, using PyBytes_AsString without a length argument breaks HideLines, because the string would only be returned until the first \0 is received. The problem with...

@pete312 download a zip from https://github.com/bruderstein/PythonScript/releases/tag/v3.0.1. Depending on your notepad++ configuration you either have to unpack into %APPDATA%\notepad++ or into the installation directory of notepad++.

@vsrawat I don't know as I don't use the installed version.

Can't this be closed? if I understand correctly, then - shortcuts can be already assigned to scripts directly - to run multiple scripts from within startup.py is a matter of...

A script is from Python's point of view a module, so I would say import is the correct way. If scripts are written having this in mind, each script could...

sounds like threading issues, I would vote for marking console.run with notAllowedInCallback like for example [FindText](https://github.com/bruderstein/PythonScript/blob/master/PythonScript/src/ScintillaWrapperGenerated.cpp#L1824)

Still an issue, tested on Windows 7 Professional (64-bit) Notepad++ v7.8.1 (64-bit) PythonScript 1.5.1.0

>I assume marking console.run with notAllowedInCallback will prevent the crash by blocking use of run? Yes, that is the idea. If I understand correctly, you did use notifications to execute...