Hi all!

I'm trying to work with htmlviewer today, and I find very useful "HTMLTextMBS". 
But it can be great if I can to set the selected word as bold or italic... or a 
link...

So I'm trying to create a little (and very basic) html editor, but to do this 
it can be useful to get the exact position in the html code. I explain: in the 
sentence

Hello <i><b>world</b></i> 123

if I select "123" in the html viewer, I have the 13rd, 14th and 15th character, 
but in the html code they are the 27th, 28th and 29th character, and around 
they I can (for example) insert the tags <u>...</u> for make they underline.

I thought that I can search for "123" in the html code, but I'll have problems 
if in my html page there are a lot of "123"...

Any idea on how to do this? Thanks a lot!

------

Sergio Tamborini
Brescia
http://www.system-i.it


"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni 
mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. 
No! La magistratura può fare solo accertamenti di carattere giudiziale. Le 
istituzioni hanno il dovere di estromettere gli uomini politici vicini alla 
mafia, per essere oneste e apparire tali"
Paolo Borsellino


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to