RegexMatchCount(TextBox.Text, "(\r\n|\r|\n)", "g")=tokencount(TextBox.Text,newline)
...because needs separator...if you set TextBox as TextArea and when you start typing
just press "a" and hold down..you dont have separator.....you just wrap text....
..........I think <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">
you also need to to set Max.Characters per line ...and count characters in line...
On text change add to Var.Characters... 1
Var.Characters= Max.Characters .....set text ..to text&newline....set Var.Ch=0
..also need to set Var.Ch=0 when Var.Lines change if you press Enter...
EDIT:
— le Canapin
something like this..
capx> http://s000.tinyupload.com/index.php?fi ... 1575242769