View Single Post
Old 04-06-2020, 08:38 AM   #460
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,864
Karma: 6120478
Join Date: Nov 2009
Device: many
And the problem is not search. Search outside of tags is easy and Sigil already has that capability. The hard one is replace. For example a simple word pair such as "good day" might it fact have span tags or italic or bold tags around only one of those two words. So for each word (and even partial words such as word starters with dropdown first letters) you would need to store and remember its parent tag so that when it comes time to replace, you are not accidentally removing mark up or destroying its well-formedness.
KevinH is offline   Reply With Quote