02-16-2023, 03:47 PM
you need to allocate the string buffer
SCI_GETCURLINE
SCI_GETLINE
SCI_GETCURLINE
int length=SendMessage(sci SCI.SCI_GETCURLINE 0 0)
str text.all(length 2)
SendMessage(sci SCI.SCI_GETCURLINE length text)
mes text
SCI_GETLINE