Removing ListStyle

2013-07-30 Thread Dan Friedman
Hello... How do you remove the listStyle of some text? If you set it to skip as listed in the dictionary, you still have remnants of the listStyle. For example, using the htmlText of a field, it starts with: ptest/p Then you set the listStyle to disc and you get this: ul type=disc li

Re: Removing ListStyle

2013-07-30 Thread Thierry Douez
2013/7/30 Dan Friedman d...@clearvisiontech.com Hello... How do you remove the listStyle of some text? If you set it to skip as listed in the dictionary, you still have remnants of the listStyle. For example, using the htmlText of a field, it starts with: ptest/p Then you set the

Re: Removing ListStyle

2013-07-30 Thread Dan Friedman
Thierry, On Mac LC 6.1, I do this: set the listStyle of the selectedLine to empty and the htmlText is this: p listindent=0test/p Is that as clean as it gets? I would expect it to be ptest/p. -Dan ​Hi, set the liststyle of line 3 of fld F1 to empty works here on

Re: Removing ListStyle

2013-07-30 Thread Mark Schonewille
Hi Dn, I don't understand where you get your listindent property from. The following doesn't create anything like that: on tabKey put the listDepth of the selectedLine into myDepth if myDepth is 1 and the shiftKey is down then set the listStyle of the selectedLine to empty else

Re: Removing ListStyle

2013-07-30 Thread Thierry Douez
Hi, I've done this first: on mouseUp set the liststyle of line 3 of fld F1 to disc put the htmltext of fld F1 end mouseUp get: ul type=disc li pfont size=28werwerwerwer/font/p /li and then: on mouseUp set the liststyle of line 3 of fld F1 to empty put the htmltext of fld F1 end

Re: Removing ListStyle

2013-07-30 Thread Dan Friedman
Mark, Well, I don't know why I'm getting the results I am, but your tabKey command script works great! Thanks for the snippet! --Dan Hi Dn, I don't understand where you get your listindent property from. The following doesn't create anything like that...