Re: [Lazarus] the options window crash
On Mon, Jan 28, 2013 at 6:25 PM, Martin wrote: > > IDECommandList.FindCategoryByName > > Have you registered it? > > look at EditorMacros, it does that Thanks, Fixed it, and now it works properly :) > > > > > On 28/01/2013 16:14, ik wrote: >> >> Hello, >> >> I'm trying to register a new section for the key shortcut option: >> >> https://github.com/ik5/split_lazarus/blob/master/src/untlazsplitview_code.pas#L42 >> >> Lazarus has the following exception because of it: >> TApplication.HandleException Access violation >>Stack trace: >>$012F08AE line 3540 of keymapping.pp >>$01238DC8 line 370 of frames/editor_keymapping_options.pas >>$012C0664 line 349 of ideoptionsdlg.pas >>$012C071B line 355 of ideoptionsdlg.pas >>$012C071B line 355 of ideoptionsdlg.pas >>$012C0706 line 354 of ideoptionsdlg.pas >>$012C071B line 355 of ideoptionsdlg.pas >>$012C0453 line 366 of ideoptionsdlg.pas >>$012C0924 line 397 of ideoptionsdlg.pas >>$00A7789B line 4649 of main.pp >>$00FDD349 line 463 of lazideintf.pas >>$00A7731C line 4583 of main.pp >>$00FD4FD1 line 580 of menuintf.pas >>$00FDB724 line 1655 of menuintf.pas >>$00CCD000 line 83 of include/menuitem.inc >>$00CCDB7E line 278 of include/menuitem.inc >>$009EA139 >> >> Lazarus 1.1 r40007M FPC 2.6.0 x86_64-linux-gtk 2 >> >> What am I doing wrong here ? >> >> Thanks, >> Ido >> >> -- >> ___ >> Lazarus mailing list >> Lazarus@lists.lazarus.freepascal.org >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] the options window crash
IDECommandList.FindCategoryByName Have you registered it? look at EditorMacros, it does that On 28/01/2013 16:14, ik wrote: Hello, I'm trying to register a new section for the key shortcut option: https://github.com/ik5/split_lazarus/blob/master/src/untlazsplitview_code.pas#L42 Lazarus has the following exception because of it: TApplication.HandleException Access violation Stack trace: $012F08AE line 3540 of keymapping.pp $01238DC8 line 370 of frames/editor_keymapping_options.pas $012C0664 line 349 of ideoptionsdlg.pas $012C071B line 355 of ideoptionsdlg.pas $012C071B line 355 of ideoptionsdlg.pas $012C0706 line 354 of ideoptionsdlg.pas $012C071B line 355 of ideoptionsdlg.pas $012C0453 line 366 of ideoptionsdlg.pas $012C0924 line 397 of ideoptionsdlg.pas $00A7789B line 4649 of main.pp $00FDD349 line 463 of lazideintf.pas $00A7731C line 4583 of main.pp $00FD4FD1 line 580 of menuintf.pas $00FDB724 line 1655 of menuintf.pas $00CCD000 line 83 of include/menuitem.inc $00CCDB7E line 278 of include/menuitem.inc $009EA139 Lazarus 1.1 r40007M FPC 2.6.0 x86_64-linux-gtk 2 What am I doing wrong here ? Thanks, Ido -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] the options window crash
Hello, I'm trying to register a new section for the key shortcut option: https://github.com/ik5/split_lazarus/blob/master/src/untlazsplitview_code.pas#L42 Lazarus has the following exception because of it: TApplication.HandleException Access violation Stack trace: $012F08AE line 3540 of keymapping.pp $01238DC8 line 370 of frames/editor_keymapping_options.pas $012C0664 line 349 of ideoptionsdlg.pas $012C071B line 355 of ideoptionsdlg.pas $012C071B line 355 of ideoptionsdlg.pas $012C0706 line 354 of ideoptionsdlg.pas $012C071B line 355 of ideoptionsdlg.pas $012C0453 line 366 of ideoptionsdlg.pas $012C0924 line 397 of ideoptionsdlg.pas $00A7789B line 4649 of main.pp $00FDD349 line 463 of lazideintf.pas $00A7731C line 4583 of main.pp $00FD4FD1 line 580 of menuintf.pas $00FDB724 line 1655 of menuintf.pas $00CCD000 line 83 of include/menuitem.inc $00CCDB7E line 278 of include/menuitem.inc $009EA139 Lazarus 1.1 r40007M FPC 2.6.0 x86_64-linux-gtk 2 What am I doing wrong here ? Thanks, Ido -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus