Quote from
noyzen on May 28, 2021, 10:05 am
I used this code to do the job:
Math "[Script_SelStart]-[Script_CurLinePos]" "0" "[Start_of_Line]"
hpwPlusMemoGetText "Script" "[Start_of_Line]" "[Script_ByteCount]" "[look_for_line]"
SearchStr "[#13]" "[look_for_line]" "[End_of_Line]" ""
hpwPlusMemoGetText "Script" "[Start_of_Line]" "[End_of_Line]" "[the_line]"
But problem is this code can't get last line which don't have a [#13]
I'm still working to find a way...
I used this code to do the job:
Math "[Script_SelStart]-[Script_CurLinePos]" "0" "[Start_of_Line]"
hpwPlusMemoGetText "Script" "[Start_of_Line]" "[Script_ByteCount]" "[look_for_line]"
SearchStr "[#13]" "[look_for_line]" "[End_of_Line]" ""
hpwPlusMemoGetText "Script" "[Start_of_Line]" "[End_of_Line]" "[the_line]"
But problem is this code can't get last line which don't have a [#13]
I'm still working to find a way...