From 96ae263e8b15bdba1d53a17fd60ee7109729052f Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 18 Aug 2016 16:19:01 +0100 Subject: [PATCH] JAL-1445 status message '...not containing...' for inverted selection --- src/jalview/controller/AlignViewController.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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; } -- 1.7.10.2