Hi
SyntaxEditor search functionality finds more results than expected in some cases.
Steps to reproduce:
- Type the following text:
xttt
xttt
xttt
- Put cursor at the very beginning (before 'x' character)
- Press Ctrl-F and type ttt in the edit box
- After that I am able to click 'Find Next' button 4 times before message box appears (which is correct)
- Put cursor at the first line after 'x' character right before the matching string.
- Press Ctrl-F and type ttt in the edit box
- After that I am able to click 'Find Next' button 5 times before message box appears (which is not correct). SyntaxEditor selects the first match two times.
SyntaxEditor search functionality finds more results than expected in some cases.
Steps to reproduce:
- Type the following text:
xttt
xttt
xttt
- Put cursor at the very beginning (before 'x' character)
- Press Ctrl-F and type ttt in the edit box
- After that I am able to click 'Find Next' button 4 times before message box appears (which is correct)
- Put cursor at the first line after 'x' character right before the matching string.
- Press Ctrl-F and type ttt in the edit box
- After that I am able to click 'Find Next' button 5 times before message box appears (which is not correct). SyntaxEditor selects the first match two times.