From 83be20f1d8274aa0044acc72c427abef766d8dd1 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 14 Sep 2018 12:43:56 +0100 Subject: [PATCH] JAL-345 invert logic is not quite right - REVISE THIS! --- src/jalview/controller/AlignViewController.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/jalview/controller/AlignViewController.java b/src/jalview/controller/AlignViewController.java index e9205f6..aac7801 100644 --- a/src/jalview/controller/AlignViewController.java +++ b/src/jalview/controller/AlignViewController.java @@ -392,12 +392,13 @@ public class AlignViewController implements AlignViewControllerI * or add/exclude/toggle for sequences not highlighted. * * @param invert - * - when true, sequences that are not highlighted are used to modify - * selection + * - when true, sequences that are not highlighted are added/removed + * from selection * @param extendCurrent * - normally true , the current selected group is modified. + * Otherwise a new selection is created * @param toggle - * - if a select + * - toggle selection status for highlighted/not highlighted sequence * @return */ public boolean selectHighlightedSequences(boolean invert, -- 1.7.10.2