I need to copy some html text and import it into Xojo with the same formatting, in particular I’m copying molecules from this website: (http://www.reciprocalnet.org/edumodules/commonmolecules/list.html).
As you can see the numbers are subscripts, and that’s what I need, but when I paste the text on Xojo the numbers become normal numbers and it doesn’t look
Any workaround for this ?
Well I just took a peek, they’re subs using the
What kind of element are you pasting the numbers in, and what OS?
Does it allow for formatted text pastes?
Are your users going to paste these strings, or just you prior to release?
Are you fetching the strings with HTTP, or do you explicitly expect the formulas to be pasted in.
Are they stored in any way within your app?
If you do intend to store them, here’s some information on Unicode subscripts and superscripts.
What exactly is the string that’s pasted?
not for the users, it’s for my software (in the code area).
If there’s an html tag then I’m afraid it can’t be converted. I’ll have to do it manually,