Delphi 2010 Search Wrap Around -


is there way switch off 'wrapped around' functionality of delphi 2010's search?

i understand lots of developers have issues new search function works me except when search wraps around , goes first result again.

i know can flag search selection box not work me. miss part of search functionality let search cursor or scope , tell when there no more results.

an example of messing me around. have tree view lots of nodes being accessed level indexes (i.e. item.level = 1) , need add new node @ level 0 , of indexes needs shift level + 1. have wasted plenty of time reassigning these indexes second , third time because search function wraps (i cannot use replace doing).

it's pain watch code scroll bar every time change , .level = 0 has become .level = 1, .level = 2 etc.

thanks in advance.

the default behavior in delphi xe dialog box asks restart search beginning of file, including (unchecked) checkbox wrap around without asking.

this behavior configurable in tools -> options -> editor options -> auto search wrap around.

i don't have delphi 2010 running verify luck, takes.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -