IDE crash on opening Tools, Options, User Defined Markup
Original Reporter info from Mantis: mftq75
-
Reporter name: C Western
Original Reporter info from Mantis: mftq75
- Reporter name: C Western
Description:
On MacOSX/Carbon, Tools, Options, User Defined Markup crashes the IDE.
Investigating this it seems the crash occurs in TCustomGrid.EditorPos because a bad value (from an unset variable) is used in
FEditor.BoundsRect := CellR.
I think the grid is empty at the time of the call, so CellR:=CellRect(FCol,FRow); simply does not set CellR. The attached patch is one possible workaround, forcing sane values. (An alternative aproach would be to act on the fail returns in ColRowToOffset.)
Mantis conversion info:
- Mantis ID: 32623
- OS: MACOSX
- Platform: i386
- Version: 1.9 (SVN)
- Fixed in revision: r56235 (#8de5a730)