Bug #10992 2007-05-05 12:18

mariocupelli

Find within Editor does not work properly

This bug is contained in the current nightly.

With the following code you can reproduce the bug. Add an empty file and type

addr.sin

addr.sin1

addr.sin2

then mark addr.sin with the mouse and then call the Find dialog using Crtl+F or Search->Find. The content addr.sin is put in the find dialog, but if you press now F3 you will get no search results.

If you mark addr.sin again with the mouse and use again Ctrl+F and then F3 you will get the correct search results.

The strange thing is, If you use the option Find uses selected Text the Search with Find Ctrl+F and F3 it works properly at the first time.

This problem occur in selections that contain e.g a dot. Words like addrsin, addrsin1, addrsin2 will be found if you mark addrsin and then search for it.

Link Forum post

http://forums.codeblocks.org/index.php?topic=5842.msg44742;topicseen#new

Category
Application::Editor
Group
 
Status
Closed
Close date
2007-05-20 13:31
Assigned to
biplab
pauliusz 2007-05-16 22:41

fixed in Patch #2010

biplab 2007-05-20 13:31

This bug is now fixed in HEAD.

Thank you for reporting it.