From: Jim Procter Date: Fri, 14 Sep 2018 11:43:56 +0000 (+0100) Subject: JAL-345 invert logic is not quite right - REVISE THIS! X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=83be20f1d8274aa0044acc72c427abef766d8dd1;p=jalview.git JAL-345 invert logic is not quite right - REVISE THIS! --- 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,