From 7131594a75aff4691699b4499fb91ec29b8952df Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 24 Mar 2006 15:34:48 +0000 Subject: [PATCH] Feature added to group search results --- src/jalview/gui/Finder.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/Finder.java b/src/jalview/gui/Finder.java index 58e2993..6b8df4b 100755 --- a/src/jalview/gui/Finder.java +++ b/src/jalview/gui/Finder.java @@ -128,14 +128,17 @@ public class Finder extends GFinder SequenceFeature sf = new SequenceFeature(textinput.getText(), "Search Results", null, searchResults.getResultStart(i), - searchResults.getResultEnd(i)); + searchResults.getResultEnd(i), + "Search Results"); ap.seqPanel.seqCanvas.getFeatureRenderer().addNewFeature( - textinput.getText(), new Color(60,160,115)); + textinput.getText(), new Color(60,160,115), + "Search Results"); seq.getDatasetSequence().addSequenceFeature(sf); } + ap.seqPanel.seqCanvas.getFeatureRenderer().findAllFeatures(); ap.alignFrame.showSeqFeatures.setSelected(true); av.setShowSequenceFeatures(true); ap.highlightSearchResults(null); -- 1.7.10.2