~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionWindowManager.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2012-06-22 20:35:35 UTC
  • mfrom: (10.3.2)
  • Revision ID: package-import@ubuntu.com-20120622203535-zrozwvcf6kfk6l6i
Tags: 3.0.3.2+dfsg-1
* [3fd89ae] Imported Upstream version 3.0.3.2+dfsg
* [379a680] Remove old patches we haven't used for ages from git.
* [d71161d] Remove correct_paths_in_monodevelop-core-addins.pc.patch.
  Upstream claim to have fixed this by moving assembly install locations.
* [15dbfb9] Fix install location for MonoDevelop.Gettext.dll.config.
* [26eb434] Fix install location for MonoDevelop.SourceEditor2.dll.config.
* [4169974] Upstream commit 53282c9 which finally reconciles the 
  MonoDevelop.Gettext.dll install location with the 
  monodevelop-core-addins.pc location.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
                public static bool ShowWindow (CompletionTextEditorExtension ext, char firstChar, ICompletionDataList list, ICompletionWidget completionWidget, CodeCompletionContext completionContext)
84
84
                {
85
85
                        try {
 
86
                                if (ext != null) {
 
87
                                        int inserted = ext.document.Editor.EnsureCaretIsNotVirtual ();
 
88
                                        if (inserted > 0)
 
89
                                                completionContext.TriggerOffset = ext.document.Editor.Caret.Offset;
 
90
                                }
86
91
                                if (wnd == null) {
87
92
                                        wnd = new CompletionListWindow ();
88
93
                                        wnd.WordCompleted += HandleWndWordCompleted;
147
152
                        if (!IsVisible)
148
153
                                return;
149
154
                        ParameterInformationWindowManager.UpdateWindow (wnd.Extension, wnd.CompletionWidget);
 
155
                        if (wnd.Extension != null)
 
156
                                wnd.Extension.document.Editor.FixVirtualIndentation ();
150
157
//                      wnd.HideWindow ();
151
158
//                      OnWindowClosed (EventArgs.Empty);
152
159
                        DestroyWindow ();