Paradoxianer / ScriptureGuide

A Bible study tool based on the SWORD project that supports a wide variety of Bible translations and commentaries.
0 stars 1 forks source link

Migrate BibleColumnListView to the Haiku Depot TextView #2

Open Paradoxianer opened 4 years ago

Paradoxianer commented 3 years ago

Use Textview create for every verse a paragraph run through all Paragraphs (Verses) first SetSpacingBottom to 0 Calculate height of Paragraph find max height set Spacing Bottom according to the differenz to maxheight

Clean up all Stuff we dont need from textview (or better keep it then we can use it for note editing Making notes... i guess every verse should have its own Textdocument with according Editor.

============= Let BibleTextColumn handle the creation of a Textdokument also make shure every Paragraph (for non contiunous rendering) is stored in the BibleField (for BColumn and BRow) Rendering is done from the Column over the rendering of the TextLayout we can use the border of each Field to make shure the TextLayout will only render the given Verse.

This will be much more compilcated when using continous rendering...