You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
editor.getTextRange() not present in 3.0.23 release #391
update to N++ 8.8.2 and removal of corresponding methods from pythonscript which are commented out from N++ scintilla interface:
deprecated by N++ 2GB+ support via new scintilla interfaces from 5.2.3 (see https://www.scintilla.org/ScintillaHistory.html), please use SCI_GETTEXTRANGEFULL, SCI_FINDTEXTFULL,SCI_GETSTYLEDTEXTFULL and SCI_FORMATRANGEFULL and corresponding defines/structs
But now all Pythonscript programmers are going to have to carry along the "Full" part (i.e., getTextRangeFull), which just feels awkward. As the arguments and return value are the same (at the Python level) for the old getTextRange and the current getTextRangeFull, it would have been nice for the plugin itself to convert calls to the former into the latter, as a convenience to the programmer.
Activity
chcg commentedon Jul 13, 2025
@alankilborn Intentionally, updated release notes:
Do you consider that as a major issue?
alankilborn commentedon Jul 14, 2025
"major"...well, no, I guess not.
But now all Pythonscript programmers are going to have to carry along the "Full" part (i.e.,
getTextRangeFull), which just feels awkward. As the arguments and return value are the same (at the Python level) for the oldgetTextRangeand the currentgetTextRangeFull, it would have been nice for the plugin itself to convert calls to the former into the latter, as a convenience to the programmer.alankilborn commentedon Jul 14, 2025
Workaround:
Put the following in user
startup.py:gxhhaley commentedon Jul 19, 2025
i want a release download
Ekopalypse commentedon Jul 19, 2025
@gxhhaley - What do you mean? This?
fix issue #391
chcg commentedon Oct 1, 2025
@alankilborn added getStyledText(), findText(), getTextRange() again as substitutes to their corresponding Full versions. Hope that is fixing it for you, see https://github.com/bruderstein/PythonScript/releases/tag/v3.0.24 . Sorry for the long delay for it.
Ekopalypse commentedon Mar 9, 2026
Any reason why this is still open? PS 2?
chcg commentedon Mar 11, 2026
Just waited for confirmation that the impl is what is expected.