Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/11/19 12:31:29 (3 years ago)
Author:
abeham
Message:

#1616: Implement Ctrl+A for selecting all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Core.Views/3.3/ItemListView.cs

    r17008 r17127  
    269269          Clipboard.SetText(builder.ToString());
    270270        }
     271      } else if (itemsListView.MultiSelect && e.KeyData == (Keys.A | Keys.Control)) {
     272        try {
     273          itemsListView.BeginUpdate();
     274          foreach (ListViewItem item in itemsListView.Items)
     275            item.Selected = true;
     276        } finally { itemsListView.EndUpdate(); }
    271277      }
    272278    }
Note: See TracChangeset for help on using the changeset viewer.