From: gmungoc Date: Thu, 18 Aug 2016 15:19:01 +0000 (+0100) Subject: JAL-1445 status message '...not containing...' for inverted selection X-Git-Tag: Release_2_10_0~100^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=96ae263e8b15bdba1d53a17fd60ee7109729052f;p=jalview.git JAL-1445 status message '...not containing...' for inverted selection --- diff --git a/src/jalview/controller/AlignViewController.java b/src/jalview/controller/AlignViewController.java index 24439ca..74a5235 100644 --- a/src/jalview/controller/AlignViewController.java +++ b/src/jalview/controller/AlignViewController.java @@ -299,11 +299,13 @@ public class AlignViewController implements AlignViewControllerI avcg.setStatus(MessageManager.formatMessage( "label.view_controller_toggled_marked", new String[] { - (toggle ? MessageManager.getString("label.toggled") - : MessageManager.getString("label.marked")), - (invert ? (Integer.valueOf((alw - alStart) - - bs.cardinality()).toString()) : (Integer - .valueOf(bs.cardinality()).toString())), + MessageManager.getString(toggle ? "label.toggled" + : "label.marked"), + String.valueOf(invert ? alw - alStart + - bs.cardinality() : bs.cardinality()), + MessageManager + .getString(invert ? "label.not_containing" + : "label.containing"), featureType, Integer.valueOf(nseq).toString() })); return true; }