af3a143571e5aa064eab75c34f9444b35413b562
chmalee
  Tue Nov 30 15:28:15 2021 -0800
Add snippet support to trix searching. Required changing the
wordPos from the first highest matching wordIndex to the
wordIndex of the actual span. Have trixContextIndex create a
second level index for fast retrieval of line offsets in
original text file used by ixIxx. Create a simple UI for navigating
hgFind search results.

diff --git src/hg/makefile src/hg/makefile
index 2e76ec5..6a08d85 100644
--- src/hg/makefile
+++ src/hg/makefile
@@ -1,29 +1,29 @@
 # Build all directories in utils
 
 kentSrc = ..
 include ${kentSrc}/inc/localEnvironment.mk
 
 BROWSER_BINS=cartReset das hgBlat makeDb/hgCgiData hgCollection hgConvert \
 	hgHubConnect hgGateway hgGene hgGenome hgIntegrator hgLogin hgPcr \
 	hgSession hgSuggest hgTables hgTracks hgTrackUi hgUserSuggestion \
 	hgc hgApi cartDump near/hgNear hgLiftOver hgLinkIn hgVai \
 	visiGene/hgVisiGene hgMenubar hgPublicSessions \
 	encode/hgEncodeDataVersions encode/hgEncodeVocab encode/hgEncodeApi \
 	phyloPng hgCustom hgPal hgFileUi hgFileSearch makeDb/hgCgiData \
 	js htdocs/style hgMirror hgBeacon hgGtexTrackSettings pyLib \
-	hgGeneGraph hgs hubApi hgPhyloPlace gar
+	hgGeneGraph hgs hubApi hgPhyloPlace gar searchExample
 
 ifdef LOWELAB
     BROWSER_BINS += $(HOME)/lowelab/src/browser/tooltip $(HOME)/lowelab/src/browser/chooseorg
 endif
 
 BROWSER_LOADERS = makeDb/hgLoadBed makeDb/hgLoadWiggle makeDb/hgLoadMaf utils/pslToBigPsl utils/hubCheck
 
 ifneq ($(findstring $(shell hostname),hgwdev hgwbeta),)
     ENCODE_FILES = encode3/encodeDataWarehouse
 endif
 
 
 TEST_DIRS = lib cgilib autoDtd autoSql blastToPsl checkTableCoords embossToPsl \
             genePredSingleCover genePredHisto genePredToBed genePredToGtf \
 	    genePredToMafFrames gbGetEntries hgGetAnn liftAcross liftOver \