diff options
author | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
commit | 95408b1a41b31b645f3a8c3323ab7d3ca4bff26b (patch) | |
tree | f8f137cddcb9a40499d303be95722fd2c6081bce /main/src/core/Mono.Texteditor/Mono.TextEditor/Document/DiffTracker.cs | |
parent | b70e4e04b4e41b8ec28d7e4b220b401ecf467e7a (diff) | |
parent | de043d330a8bf5855d4d983c804cd36727cb2406 (diff) |
Merge remote-tracking branch 'origin/roslyn' into new-project-model
Diffstat (limited to 'main/src/core/Mono.Texteditor/Mono.TextEditor/Document/DiffTracker.cs')
-rw-r--r-- | main/src/core/Mono.Texteditor/Mono.TextEditor/Document/DiffTracker.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/DiffTracker.cs b/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/DiffTracker.cs index 1b56c0130f..1c8a1e190a 100644 --- a/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/DiffTracker.cs +++ b/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/DiffTracker.cs @@ -46,7 +46,7 @@ namespace Mono.TextEditor public Mono.TextEditor.TextDocument.LineState GetLineState (DocumentLine line) { - if (line != null) { + if (line != null && lineStates != null) { try { var info = lineStates [line.LineNumber]; if (info != null) { |