techee left a comment (geany/geany#4303) > Though, as the issue is basically anything that starts at the same point (as > it should basically result in either duplicates (if the end range is > different), or worse, infinite recursion (if it includes whatever triggered > the initial one), it's probably safe to just drop those: e.g. only check if > the initial position is already in some promise for the same language, drop > it.
Yes, agree and as I mentioned in #4330, we probably should also eliminate promises that partially overlap an existing promise (i.e. either have start before existing promise and end within it or start within it and end behind it) because I can't imagine how such a situation could happen legally. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/4303#issuecomment-2973190433 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/4303/[email protected]>
