Ekopalypse

Results 107 comments of Ekopalypse

Yes, this is a area which needs to be addressed. What I found is needed is something like this ~~~py cdef inline _encode(self, unicode text): return text.encode('mbcs' if self.call(self.sci_pointer, SCI_GETCODEPAGE,...

I tried the latest build with a fresh npp 7.8.6 and it crashed. Then I copied, from the old 2.7 installation, the PythonScript related files and directories from .\plugins\Config to...

What I've described was done with 3.0.1, sorry for not being clear. Btw. most of the samples are done. The remaining are depending on the text encoding conversion. Do you...

@chcg - I don't know why but the first time I tested 3.0.1 it didn't work with the package I've downloaded but today with a clean npp and PS setup...

@chcg I will do a final test with all samples using utf8 and ansi encoded buffers, just to be sure I haven't overlooked something. Do you think it is needed...

So the obvious solution would be to have pip and all installed modules in the plugins\config directory, which means site.py module needs to be changed/adapted I guess. Let me think...

My current state is the following: - all scripts are python3 ready - most scripts will work with unicode and ansi files if those use the chars from the ascii...

I'm trying to find out what the issue with the HideLines and the Formatter scripts, corrupts the last line to format, are because these errors doesn't seem to be encoding...

Issue with Formatter script has been identified. [Here](https://github.com/bruderstein/PythonScript/blob/master/scripts/Samples/Formatter.py#L88) and [here](https://github.com/bruderstein/PythonScript/blob/master/scripts/Samples/Formatter.py#L98) it must be ~~~py endpos = editor.getLineEndPosition(...) ~~~~

I assume the problem with HideLines is not within the script but within the [getStringFromObject](https://github.com/bruderstein/PythonScript/blob/master/PythonScript/src/ScintillaWrapper.cpp#L53) function. From what I understand it returns the raw string, as it is typed, instead...