Weird Problem Editing

I am moderately new to Atom. I have 4 large Repositories and 1 small one. By large I mean large number of files not large files. I recently started having an issue with the editor. When I open a file everything looks normal. Then I select a line to edit, and again looks normal. But when I edit the line, the selected line does not get edited, but rather the line above. The only solution to fix is to copy all the text and then replace it. This causes the line count to almost triple with a text line and one or two blank lines between. Removing the blank lines gets the code back to normal.

Anyone else having this issue. What can I do to correct the problem. Not every file is affected this way.

TIA for any assistance.