View Single Post
Old 06-26-2024, 11:13 AM   #13
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,930
Karma: 6361444
Join Date: Nov 2009
Device: many
Well that is not going to be fun as our CodeView uses qtextcursors to get selected text directly in many many places. I will have to create an access routine to that accepts the cursor and grabs the text and fixes it up and use it everyplace.

Thanks!

KevinH



Quote:
Originally Posted by kovidgoyal View Post
Typing and pasting dont matter. As long as all code that gets text from the plain text edit normalizes the text before using it. Basically you need to be careful at all sites that operate on the contents of the plain text edit. Anything that gets the text from it either directly or via a text cursor and then uses/operates on the text should be normalising it first. Depending on your architecture that might be easy or hard to enforce.
KevinH is offline   Reply With Quote