text-window-modified

long ( text-window-modified long window-id)

Returns 1 if the text has been modified, 0 otherwise.