f05591924162fab32f39837b62ee866b5826eb9b
braney
  Wed May 14 09:41:31 2025 -0700
increase the size of a buffer used for exon phases etc.

diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index 55dfafa301c..9792bf8240d 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -2649,31 +2649,31 @@
     *pNewWinStart = 0;
 *pNewWinEnd = *pNewWinStart + newWinSize;
 }
 
 void linkedFeaturesMoveWinEnd(long exonEnd, long bufferToEdge, long newWinSize, long *pNewWinStart, long *pNewWinEnd)
 /* A function used by linkedFeaturesNextPrevItem to make that function */
 /* easy to read. Move the window so that the end of the exon in question */
 /* is near the end of the browser window. */
 {
 *pNewWinEnd = exonEnd + bufferToEdge;
 if (*pNewWinEnd > virtSeqBaseCount)
     *pNewWinEnd = virtSeqBaseCount;
 *pNewWinStart = *pNewWinEnd - newWinSize;
 }
 
-#define EXONTEXTLEN 256
+#define EXONTEXTLEN 4096
 
 static void makeExonFrameText(int exonIntronNumber, int numExons, int startPhase, int endPhase, char *buf) 
 /* Write mouseover text that describes the exon's phase into buf[EXONTEXTLEN].
 
    Note that start/end-phases are in the direction of transcription:
    if transcript is on + strand, the start phase is the exonFrame value, and the end phase is the next exonFrame (3' on DNA) value
    if transcript is on - strand, the start phase is the previous (=3' on DNA) exonFrame and the end phase is the exonFrame */
 {
 
 static const char *phaseHelp = "<a style='float:right' target=_blank href='../goldenPath/help/codonPhase.html'>Phase?</a><br>";
 
 if (startPhase==-1) // UTRs don't have a frame at all
     {
     safef(buf, EXONTEXTLEN, "<b>No Codon:</b> Untranslated region<br>");
     }