Number of lines in Nedit or Gedit

Dear Help,
I have been encountering a strange problem.
When I run a shell script, I do expect the output number of lines to be 12000 and it runs fine on one my linux w/s.But it just terminate on another at line 2704 on another linux machine.
I have put nedit text.file at the last part of the script, so that it pops up directly.
Is there any way that I can set the Nedit or gedit max limit for lines?
Thanks