I answer by myself. I've found that on Mac (not yet tested on windows) if I select a word and right-click on it, I can change the style, and it's correctly converted in html!!!
I'm going to test more on this :) and I'll let you know (hope it can be useful for someone). Il giorno 28/mar/2012, alle ore 15:05, Sergio Tamborini ha scritto: > 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 > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info ------ 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 [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
