8a2b7b1c998ceef02e8e9ec4da1353a4ba6c716b max Thu Jan 19 14:09:09 2012 -0800 crazy workaround for firefox bug not breaking long words in tables, rachel feedback diff --git src/hg/hgc/t2g.c src/hg/hgc/t2g.c index 7c77b04..4ba0e21 100644 --- src/hg/hgc/t2g.c +++ src/hg/hgc/t2g.c @@ -76,34 +76,54 @@ freeMem(seqIdCoordString); return seqIdHash; } void printSeqHeaders(bool showDesc, bool isClickedSection) { printf("
Article file | \n"); puts("One table row per sequence, with flanking text, sequence in bold | \n"); if (t2gDebug) puts("Identifiers | \n"); if (!isClickedSection && !t2gDebug) - puts("Matches | \n"); + puts("Feature that includes this match | \n"); puts("|
---|---|---|---|---|---|
%s\n", fileDesc); //printf(" | %s | \n", snippet); - printf("%s | \n", snippet); + printf(""); + printAddWbr(snippet, 40); + printf(" | \n"); if (t2gDebug) { printf("article %s, file %s, seq %s, annotId %s", artId, fileId, seqId, annotId); } // print links to locations if (!isClickedSection && !t2gDebug) { struct slName *locs; // format: hg19/chr1:300-400,mm9/chr1:60006-23234 // split on "," then split on "/" locs = charSepToSlNames(locList, ','); printf(" | "); if (locs==NULL) printf("No matches"); for ( ; locs!=NULL; locs = locs->next) |