Verse highlighting data is in the markup.dat file which is a SQLite database. It uses word indexing. Make a few highlights and then open the file in a database browser and you will see how it is put together.
Developer, Bible Analyzer
But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)