Skip to content

Conversation

Ekopalypse
Copy link
Contributor

@Ekopalypse Ekopalypse commented Feb 25, 2023

For debug builds, this causes an assertion error due to the assert check in ansiiterator.h and utf8iterator.h.
I don't understand the reason for this, because for production builds there is an explicit _pos = _end call.
The changes look good to me and the tests show no problems. Any thoughts?

closes #248

@Ekopalypse Ekopalypse marked this pull request as ready for review February 25, 2023 21:22
@chcg chcg merged commit 751a385 into bruderstein:master Mar 26, 2023
chcg added a commit that referenced this pull request Mar 26, 2023
Revision: 751a385
Author: Ekopalypse <[email protected]>
Date: 26.03.2023 09:17:55
Message:
handle endpos=0 for research and rereplace methods (#283)

----
Modified: PythonScript/src/ScintillaWrapper.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Poor handling of endPosition value of zero in editor.research()
2 participants