chcg
chcg
Regarding notepad.getCurrentFilename() and the corresponding result. This seems to be a problem within: https://github.com/bruderstein/PythonScript/blob/77a365bd1ffa4b31f0d174b67077c8c35b1074b2/PythonScript/src/PythonConsole.cpp#L188-L208 the input as boost::python:str is UTF8 encoded, but detected as plain string by PyUnicode_Check(). That seems...
@Yaron10 I just retested the described issues with the current alpha release https://github.com/bruderstein/PythonScript/releases/tag/v3.0.4 and the issues seems to be fixed with the update to python3 and the changes in the...
@sasumner What about using tk? (see https://github.com/bruderstein/PythonScript/blob/master/scripts/Samples/Sorter.py or https://github.com/bruderstein/PythonScript/blob/master/scripts/Samples/Formatter.py) Or maybe something like in https://github.com/bruderstein/PythonScript/blob/master/scripts/Samples/ReplaceDefaultReplaceDialog.py. Is EasyDialogs compatible with python 3? Maybe not: https://stackoverflow.com/questions/4159194/cant-import-easydialogs-importerror-no-module-named-dlg
@tho-gru Maybe https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shellexecutew could be used which takes UTF-16 as input.
See https://www.scintilla.org/ScintillaDoc.html#SCI_GETWORDCHARS > For multi-byte encodings, this API will not return meaningful values for 0x80 and above. , so it needs to be checked if change in the encoding could...
With python 3 after adding an iso_latin_1_to_utf8 conversion I get: ``` >>> editor.getWordChars() 'ÿþýüûúùø÷öõôóòñðïîíìëêéèçæåäãâáàßÞÝÜÛÚÙØ×ÖÕÔÓÒÑÐÏÎÍÌËÊÉÈÇÆÅÄÃÂÁÀ¿¾½¼»º¹¸·¶µ´³²±°¯®\xad¬«ª©¨§¦¥¤£¢¡\xa0\x9f\x9e\x9d\x9c\x9b\x9a\x99\x98\x97\x96\x95\x94\x93\x92\x91\x90\x8f\x8e\x8d\x8c\x8b\x8a\x89\x88\x87\x86\x85\x84\x83\x82\x81\x80zyxwvutsrqponmlkjihgfedcba_ZYXWVUTSRQPONMLKJIHGFEDCBA9876543210' ```
@visusys How did you install pythonscript? Via msi package or copied one of the zip packages (in case of this option which one)?
This hardcoded at the moment at: https://github.com/bruderstein/PythonScript/blob/3d3fbeb755946f4cf1a92d864b6303aff78f385b/PythonScript/src/ConsoleDialog.cpp#L377-L379 and could just be changed if you would compile the plugin on your own.
Tooltip part is duplicate to #32.
See #155 and #120. Updating the docu is a problem due to the missing activity of the owner of this repo.