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
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
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
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
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
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...