You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move to the last line of the file. Create an empty line if necessary.
Type in c and then press tab or enter.
Expected result:
The keyword content is completed and 'content:' is added to the file.
Nothing happens. Keywords that do not append a ':' at the end, such as nuget do work on the last line of the file. If there is another empty blank line at the end then code completion works.
In the IDE log:
Error in text editor extension chain
System.ArgumentException: offset >= TextLength
at Mono.TextEditor.TextDocument.GetCharAt (Int32 offset) [0x0003c] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs:341
at Mono.TextEditor.TextEditorData.GetCharAt (Int32 offset) [0x00008] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditorData.cs:1347
at MonoDevelop.SourceEditor.SourceEditorView.SetCompletionText (Mono.TextEditor.TextEditorData data, MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, System.String partial_word, System.String complete_word, Int32 wordOffset) [0x0004c] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:1916
at MonoDevelop.SourceEditor.SourceEditorView.SetCompletionText (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, System.String partial_word, System.String complete_word, Int32 wordOffset) [0x00021] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:1979
at MonoDevelop.SourceEditor.SourceEditorView.SetCompletionText (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, System.String partial_word, System.String complete_word) [0x0000b] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:1903
at MonoDevelop.Ide.CodeCompletion.CompletionData.InsertCompletionText (MonoDevelop.Ide.CodeCompletion.CompletionListWindow window, MonoDevelop.Ide.CodeCompletion.KeyActions& ka, Key closeChar, Char keyChar, ModifierType modifier) [0x0001b] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionData.cs:108
at MonoDevelop.Ide.CodeCompletion.CompletionListWindow.CompleteWord (MonoDevelop.Ide.CodeCompletion.KeyActions& ka, Key closeChar, Char keyChar, ModifierType modifier) [0x00050] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionListWindow.cs:459
at MonoDevelop.Ide.CodeCompletion.CompletionListWindow.PreProcessKeyEvent (Key key, Char keyChar, ModifierType modifier) [0x00096] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionListWindow.cs:237
at MonoDevelop.Ide.CodeCompletion.CompletionWindowManager.PreProcessKeyEvent (Key key, Char keyChar, ModifierType modifier) [0x00048] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionWindowManager.cs:154
at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00010] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/CompletionTextEditorExtension.cs:94
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00022] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00022] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00022] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00022] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
at MonoDevelop.Debugger.ExceptionCaughtTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x0006a] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs:796
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00022] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress (Key key, UInt32 ch, ModifierType state) [0x00013] in /Users/builder/data/lanes/2968/ac9b7fcb/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:258
The text was updated successfully, but these errors were encountered:
To reproduce:
Expected result:
The keyword content is completed and 'content:' is added to the file.
Nothing happens. Keywords that do not append a ':' at the end, such as nuget do work on the last line of the file. If there is another empty blank line at the end then code completion works.
In the IDE log:
The text was updated successfully, but these errors were encountered: