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
In extractRelevant() function $startpos variable is adjusted for keep text length. But some case like below, it may return minus value and bogus hilighted text.
In extractRelevant() function $startpos variable is adjusted for keep text length. But some case like below, it may return minus value and bogus hilighted text.
$textlength = 323
$startpos = 95
$locations = 145
$rellength = 300
adjusted $startpos = 95 - (323 - 95) / 2 = -19
I suggest add max() for fix this issue.
The text was updated successfully, but these errors were encountered: