git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7a018d
)
Display of wrapped search results corrected
author
amwaterhouse
<Andrew Waterhouse>
Fri, 8 Apr 2005 15:35:27 +0000
(15:35 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 8 Apr 2005 15:35:27 +0000
(15:35 +0000)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
9663a47
..
38825c5
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-466,6
+466,10
@@
public void fastPaint(int horizontal, int vertical)
if (searchSeq >= y1 && searchSeq < y2)
\r
{
\r
SequenceRenderer ssr = (SequenceRenderer) sr;
\r
+ if(searchStart<x1)
\r
+ searchStart = x1;
\r
+ if(searchEnd > x2)
\r
+ searchEnd = x2;
\r
ssr.drawHighlightedText(av.getAlignment().getSequenceAt(searchSeq),
\r
searchStart,
\r
searchEnd,
\r