@@ -150,6 +150,7 @@ public class NodifyEditorGestures
150150 public NodifyEditorGestures ( )
151151 {
152152 Selection = new SelectionGestures ( ) ;
153+ SelectAll = ( KeyGesture ) ApplicationCommands . SelectAll . InputGestures [ 0 ] ;
153154 Cutting = new MouseGesture ( MouseAction . LeftClick , ModifierKeys . Alt | ModifierKeys . Shift , true ) ;
154155 PushItems = new MouseGesture ( MouseAction . LeftClick , ModifierKeys . Control | ModifierKeys . Shift , true ) ;
155156 Pan = new AnyGesture ( new MouseGesture ( MouseAction . RightClick ) , new MouseGesture ( MouseAction . MiddleClick ) ) ;
@@ -167,6 +168,9 @@ public NodifyEditorGestures()
167168 /// <summary>Gesture used to start selecting using a <see cref="SelectionGestures"/> strategy.</summary>
168169 public SelectionGestures Selection { get ; }
169170
171+ /// <summary>Gesture used to select all <see cref="Nodify.ItemContainer"/>s in the editor.</summary>
172+ public InputGestureRef SelectAll { get ; }
173+
170174 /// <summary>Gesture used to start cutting connections.</summary>
171175 public InputGestureRef Cutting { get ; }
172176
@@ -219,6 +223,7 @@ public NodifyEditorGestures()
219223 public void Apply ( NodifyEditorGestures gestures )
220224 {
221225 Selection . Apply ( gestures . Selection ) ;
226+ SelectAll . Value = gestures . SelectAll . Value ;
222227 Cutting . Value = gestures . Cutting . Value ;
223228 PushItems . Value = gestures . PushItems . Value ;
224229 Pan . Value = gestures . Pan . Value ;
0 commit comments