lineedit: in !EDITING config, return -1 on fgets error