[mono/monodevelop] 393b1b07: Fixed 'Bug 15163 - Tools->Options->Name Conventions causes IDE Error

Mike Krüger ([email protected]) <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001418253c3ac-f0a8e279-99a9-482f-a7d6-6dfa086d78d0-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/50e8653c5ead...393b1b07144d

   Commit: 393b1b07144dc675e3ab3b1c34eec391afa7e5d7
   Author: Mike Krüger <[email protected]> (mkrueger)
     Date: 2013-10-04 07:15:54 GMT
      URL: https://github.com/mono/monodevelop/commit/393b1b07144dc675e3ab3b1c34eec391afa7e5d7

Fixed 'Bug 15163 - Tools->Options->Name Conventions causes IDE Error
'.

Changed paths:
  M main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs

Modified: main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs
===================================================================
@@ -769,7 +769,7 @@ public ParsedDocument UpdateParseDocument ()
 			try {
 				string currentParseFile = FileName;
 				var editor = Editor;
-				if (editor == null)
+				if (editor == null || string.IsNullOrEmpty (currentParseFile))
 					return null;
 				TypeSystemService.AddSkippedFile (currentParseFile);
 				string currentParseText = editor.Text;
_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.