Ok so ive worked out the problem and I will say but I doubt if anyone will try to remedy this in the next build of DBPro.
Basically I was building a function but without testing or saving I wrote the function in a Do .. Loop.
Example:
Do
Function Myfunction()
//Something goes here
Endfunction
Loop
After I moved the cursur and was about to click save.. DaDaaa! It crashed
After removing the entire editor 3 time and re- entering my key etc.
I worked out that if I open my project file's .dba in a text editor and deleted the lines with the function statement between the do .. loop it worked after starting the editor up again
And moral of the story, beware of the function inside the do loop