{\r
//Now draw the id strings\r
\r
+ SequenceI sequence;\r
//Now draw the id strings\r
for (int i = starty; i < endy; i++)\r
{\r
+ sequence = av.alignment.getSequenceAt(i);\r
+\r
if (av.hasHiddenRows)\r
{\r
setHiddenFont(i);\r
\r
// Selected sequence colours\r
if ( (searchResults != null) &&\r
- searchResults.contains(av.alignment.getSequenceAt(i)))\r
+ searchResults.contains(sequence))\r
{\r
currentColor = Color.black;\r
currentTextColor = Color.white;\r
}\r
else if ( (av.getSelectionGroup() != null) &&\r
av.getSelectionGroup().getSequences(false).contains(\r
- av.alignment.getSequenceAt(i)))\r
+ sequence))\r
{\r
currentColor = Color.lightGray;\r
currentTextColor = Color.black;\r
}\r
else\r
{\r
- currentColor = av.alignment.getSequenceAt(i).getColor();\r
+ currentColor = sequence.getColor();\r
currentTextColor = Color.black;\r
}\r
\r
\r
gg.setColor(currentTextColor);\r
\r
- String string = av.alignment.getSequenceAt(i).getDisplayId( av.getShowJVSuffix());\r
+ String string = sequence.getDisplayId( av.getShowJVSuffix());\r
\r
gg.drawString(string, 0,\r
(((i - starty) * av.charHeight) + av.charHeight) -\r