List index out of bounds in Object Inspector
Original Reporter info from Mantis: rvk
-
Reporter name: Rik van Kekem
Original Reporter info from Mantis: rvk
- Reporter name: Rik van Kekem
Description:
The Object Inspector Component-listview gives a "List index (-1) out of bounds" when pressing a character after tabbing into it.
Steps to reproduce:
Open Lazarus with new project
Click in the "Component (filter)" of the Object inspector
Press Tab to go to the listview
Type any letter and wait one second.
Lazarus comes with a "List index (-1) out of bounds" message.
Additional information:
The problem lies somewhere in components/ideintf/objectinspector.pp
in FindPropertyBySearchText.
in "if (Rows[i].Lvl = Rows[ItemIndex].Lvl) and" the ItemIndex can be -1.
Mantis conversion info:
- Mantis ID: 33344
- Build: 57449
- Platform: All
- Version: 1.9 (SVN)
- Fixed in revision: r57474 (#4d25fb83)