"Object has invalid source text" - Improve Error Information
For simple error situations, the editor will collect errors and display them in the error grid upon save attempts. However, for many errors, it will simply display "Object has invalid source text and cannot be saved".
If I take the entire editor contents and paste it into SSMS and attempt to execute it, helpful error text will be returned, such as "Must declare the scalar variable '@foo'", complete with a line reference.
This issue is fixed in the new build 4.5.79 of dbForge Studio for SQL Server where the issue you reported is fixed http://www.devart.com/dbforge/sql/studio/download.html