From 8e2c7a601d3c72e01cd830fdc7dfb11100ccec5e Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 20 Jun 2003 13:24:46 +0000 Subject: [PATCH] implemented jump to source for code explorer git-svn-id: trunk@4295 - --- ide/codeexplorer.lfm | 2 +- ide/codeexplorer.lrs | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ide/codeexplorer.lfm b/ide/codeexplorer.lfm index cebeda8fe7..7e60677ae2 100644 --- a/ide/codeexplorer.lfm +++ b/ide/codeexplorer.lfm @@ -42,6 +42,7 @@ object CodeExplorerView: TCodeExplorerView RIGHTCLICKSELECT = True SELECTIONCOLOR = -2147483635 TABORDER = 2 + ONDBLCLICK = CodeTreeviewDBLCLICK ONDELETION = CodeTreeviewDELETION OPTIONS = [tvoautoitemheight, tvokeepcollapsednodes, tvorightclickselect, tvoshowbuttons, tvoshowlines, tvoshowroot, tvotooltips] HEIGHT = 480 @@ -57,7 +58,6 @@ object CodeExplorerView: TCodeExplorerView top = 72 object JumpToMenuitem: TMENUITEM CAPTION = 'Jump to source' - ENABLED = False ONCLICK = JumpToMenuitemCLICK end object RefreshMenuitem: TMENUITEM diff --git a/ide/codeexplorer.lrs b/ide/codeexplorer.lrs index 8f2470ad4d..55f6f75d8e 100644 --- a/ide/codeexplorer.lrs +++ b/ide/codeexplorer.lrs @@ -14,13 +14,13 @@ LazarusResources.Add('TCodeExplorerView','FORMDATA',[ +#255#255#0#11'BORDERWIDTH'#2#2#17'DEFAULTITEMHEIGHT'#2#17#10'DRAGCURSOR'#2#0 +#13'HIDESELECTION'#8#6'IMAGES'#7#10'Imagelist1'#6'INDENT'#2#15#11'PARENTCTL3' +'D'#8#9'POPUPMENU'#7#13'TreePopupmenu'#16'RIGHTCLICKSELECT'#9#14'SELECTIONCO' - +'LOR'#4#13#0#0#128#8'TABORDER'#2#2#10'ONDELETION'#7#20'CodeTreeviewDELETION' - +#7'OPTIONS'#11#17'tvoautoitemheight'#21'tvokeepcollapsednodes'#19'tvorightcl' - +'ickselect'#14'tvoshowbuttons'#12'tvoshowlines'#11'tvoshowroot'#11'tvotoolti' - +'ps'#0#6'HEIGHT'#3#224#1#3'TOP'#2#25#5'WIDTH'#3#206#0#0#0#10'TIMAGELIST'#10 - +'Imagelist1'#4'left'#2'@'#3'top'#2' '#0#0#10'TPOPUPMENU'#13'TreePopupmenu'#4 - +'left'#2'@'#3'top'#2'H'#0#9'TMENUITEM'#14'JumpToMenuitem'#7'CAPTION'#6#14'Ju' - +'mp to source'#7'ENABLED'#8#7'ONCLICK'#7#19'JumpToMenuitemCLICK'#0#0#9'TMENU' - +'ITEM'#15'RefreshMenuitem'#7'CAPTION'#6#7'Refresh'#7'ONCLICK'#7#20'RefreshMe' - +'nuitemCLICK'#0#0#0#0 + +'LOR'#4#13#0#0#128#8'TABORDER'#2#2#10'ONDBLCLICK'#7#20'CodeTreeviewDBLCLICK' + +#10'ONDELETION'#7#20'CodeTreeviewDELETION'#7'OPTIONS'#11#17'tvoautoitemheigh' + +'t'#21'tvokeepcollapsednodes'#19'tvorightclickselect'#14'tvoshowbuttons'#12 + +'tvoshowlines'#11'tvoshowroot'#11'tvotooltips'#0#6'HEIGHT'#3#224#1#3'TOP'#2 + +#25#5'WIDTH'#3#206#0#0#0#10'TIMAGELIST'#10'Imagelist1'#4'left'#2'@'#3'top'#2 + +' '#0#0#10'TPOPUPMENU'#13'TreePopupmenu'#4'left'#2'@'#3'top'#2'H'#0#9'TMENUI' + +'TEM'#14'JumpToMenuitem'#7'CAPTION'#6#14'Jump to source'#7'ONCLICK'#7#19'Jum' + +'pToMenuitemCLICK'#0#0#9'TMENUITEM'#15'RefreshMenuitem'#7'CAPTION'#6#7'Refre' + +'sh'#7'ONCLICK'#7#20'RefreshMenuitemCLICK'#0#0#0#0 ]);