IDE: fixed default Rubberband selects grand children

git-svn-id: trunk@49864 -
This commit is contained in:
mattias 2015-09-21 14:49:39 +00:00
parent 0448ce5ac3
commit 83f814c8a8

View File

@ -71,6 +71,7 @@ const
DefaultAutoSaveIntervalInSecs = 300; DefaultAutoSaveIntervalInSecs = 300;
DefaultRubberbandSelectsGrandChilds = false;
DefaultGridColor = clBlack; DefaultGridColor = clBlack;
DefaultGridSize = 8; DefaultGridSize = 8;
DefaultGuideLineColorLeftTop = clBlue; DefaultGuideLineColorLeftTop = clBlue;
@ -1249,7 +1250,7 @@ begin
FMarkerColor:=clDkGray; FMarkerColor:=clDkGray;
FRubberbandSelectionColor:=clNavy; FRubberbandSelectionColor:=clNavy;
FRubberbandCreationColor:=clMaroon; FRubberbandCreationColor:=clMaroon;
FRubberbandSelectsGrandChilds:=true; FRubberbandSelectsGrandChilds:=DefaultRubberbandSelectsGrandChilds;
FDesignerPaintLazy:=true; FDesignerPaintLazy:=true;
FCreateComponentFocusNameProperty:=false; FCreateComponentFocusNameProperty:=false;
FSwitchToFavoritesOITab:=false; FSwitchToFavoritesOITab:=false;
@ -1658,7 +1659,7 @@ begin
FRubberbandSelectionColor); FRubberbandSelectionColor);
FRubberbandCreationColor:=FXMLCfg.GetValue(Path+'FormEditor/Rubberband/CreationColor/Value', FRubberbandCreationColor:=FXMLCfg.GetValue(Path+'FormEditor/Rubberband/CreationColor/Value',
FRubberbandCreationColor); FRubberbandCreationColor);
FRubberbandSelectsGrandChilds:=FXMLCfg.GetValue(Path+'FormEditor/Rubberband/SelectsGrandChilds/Value',false); FRubberbandSelectsGrandChilds:=FXMLCfg.GetValue(Path+'FormEditor/Rubberband/SelectsGrandChilds/Value',DefaultRubberbandSelectsGrandChilds);
FDesignerPaintLazy:=FXMLCfg.GetValue(Path+'FormEditor/DesignerPaint/Lazy/Value',true); FDesignerPaintLazy:=FXMLCfg.GetValue(Path+'FormEditor/DesignerPaint/Lazy/Value',true);
FCreateComponentFocusNameProperty:=FXMLCfg.GetValue( FCreateComponentFocusNameProperty:=FXMLCfg.GetValue(
Path+'FormEditor/CreateComponentFocusNameProperty/Value',false); Path+'FormEditor/CreateComponentFocusNameProperty/Value',false);
@ -1984,7 +1985,7 @@ begin
FXMLCfg.SetDeleteValue(Path+'FormEditor/Rubberband/CreationColor/Value', FXMLCfg.SetDeleteValue(Path+'FormEditor/Rubberband/CreationColor/Value',
FRubberbandCreationColor,clRed); FRubberbandCreationColor,clRed);
FXMLCfg.SetDeleteValue(Path+'FormEditor/Rubberband/SelectsGrandChilds/Value', FXMLCfg.SetDeleteValue(Path+'FormEditor/Rubberband/SelectsGrandChilds/Value',
FRubberbandSelectsGrandChilds,false); FRubberbandSelectsGrandChilds,DefaultRubberbandSelectsGrandChilds);
FXMLCfg.SetDeleteValue(Path+'FormEditor/DesignerPaint/Lazy/Value',FDesignerPaintLazy,true); FXMLCfg.SetDeleteValue(Path+'FormEditor/DesignerPaint/Lazy/Value',FDesignerPaintLazy,true);
FXMLCfg.SetDeleteValue(Path+'FormEditor/CreateComponentFocusNameProperty/Value', FXMLCfg.SetDeleteValue(Path+'FormEditor/CreateComponentFocusNameProperty/Value',
FCreateComponentFocusNameProperty,false); FCreateComponentFocusNameProperty,false);