First line of empty file contains text of other file
Brought to you by:
cdolivet
It is somewhat hard to explain, but can be easily reproduced. Do the following:
1. Make sure 2 tabbed files are open
2. Open one file, CTRL+A, DELETE
3. Weird things start to happen now, the first line of code appears to be still there.
4. Type something and the line disappears
5. Open the other tabbed file
6. Now re-open the other tabbed cleared file, the first line of the last opened file will now become the first line.
You can clearly see that the textarea beneath is empty but the highlighter still shows the first line of the last file. I think this problem could be easily solved by correctly cleaning the highlightening div.
Tested under MSIE7 and FF3. Both have the same problem.