jalview.release=releases/Release_2_11_1_Branch
-jalview.version=2.11.1.2
+jalview.version=2.11.1.3
</tr>
<tr>
<td width="60" align="center" nowrap><strong><a
+ id="Jalview.2.11.1">2.11.1</a><a id="Jalview.2.11.1.3">.3</a><br />
+ <em>27/10/2020</em></strong></td>
+ <td align="left" valign="top">
+ <ul>
+ </ul>
+ </td>
+ <td align="left" valign="top">
+ <ul>
+ <li>
+ <!-- JAL-3765 -->Find doesn't always highlight all matching
+ positions in a sequence
+ </li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td width="60" align="center" nowrap><strong><a
id="Jalview.2.11.1">2.11.1</a><a id="Jalview.2.11.1.2">.2</a><br />
<em>25/09/2020</em></strong></td>
<td align="left" valign="top">
</head>
<body>
<p>
- <strong>Jalview 2.11.1.2</strong>
+ <strong>Jalview 2.11.1.3</strong>
</p>
- <p>Jalview 2.11.1.2 is the second patch release, fixing a bug
+ <p>Jalview 2.11.1.3 is the third patch release, fixing a bug
introduced in last weeks Jalview 2.11.1.1 release affecting display
of Jalview's example project for some users. Together, these
releases include fixes for a number of critical bugs, and also contains a
* update residueIndex to next position after the start of the match
* (findIndex returns a value base 1, columnIndex is held base 0)
*/
- residueIndex += offset + 1;
+ residueIndex = searchPattern.matchedFrom()+1;
/*
* return false if the match is entirely in a hidden region
assertEquals(matches.get(1).getEnd(), 6);
}
+ @Test(groups = "Functional")
+ public void testFind_findAll()
+ {
+ /*
+ * simple JAL-3765 test
+ * single symbol should find *all* matching symbols
+ */
+ Finder f = new Finder(av);
+ f.findAll("M", false,false,false);
+ SearchResultsI sr = f.getSearchResults();
+ assertEquals(sr.getCount(),5);
+
+ }
/**
* Test for (undocumented) find residue by position
*/