Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ward <ward.matt@gmail.com>2015-04-16 13:03:42 +0300
committerMatt Ward <ward.matt@gmail.com>2015-04-16 13:03:42 +0300
commitff2e921a1855cb0a8004042db048cf161be2b211 (patch)
treed90a21a4c0a4786ecc76547df863f729c4d54bec
parent97f10fead9c2ee3303f34c5baef40bdde6acf9af (diff)
[Ide] Fix invalid cast exception in text editor
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditor.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditor.cs
index be29790d9e..7f5ea69ace 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditor.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor/TextEditor.cs
@@ -1199,7 +1199,7 @@ namespace MonoDevelop.Ide.Editor
if (projectionsAdded) {
TextEditorExtension ext = textEditorImpl.EditorExtension;
while (ext != null && ext.Next != null) {
- var pext = (IProjectionExtension)ext;
+ var pext = ext as IProjectionExtension;
if (pext != null) {
pext.Projections = projections;
}