Hi Matt,
Looking good so far.
I have found two bugs.
The first one is selecting the Edit -> IntelliSense -> Complete Word menu option when there is no text. I get the following error
So, you may want to put a check in that there is some text under the caret when selecting this menu option.
The second bug is again with the Complete Word menu option.
If I type, say, Draw and then select the Edit -> IntelliSense -> Complete Word menu option, instead of selecting an item from the list I press escape to get rid of the entries and then press Delete I get the following error:
Hope that helps.
Looking good so far.
I have found two bugs.
The first one is selecting the Edit -> IntelliSense -> Complete Word menu option when there is no text. I get the following error
System.ApplicationException: The member list initial length must be at least one. at ActiproSoftware.SyntaxEditor.IntelliPromptMemberList.CompleteWord(Int32 offset, Int32 length) at PlugIns.Languages.BlitzBasic.BlitzBasicDynamicSyntaxLanguage.ShowIntelliPromptMemberList(SyntaxEditor syntaxEditor, Boolean completeWord) at PlugIns.Languages.BlitzBasic.BlitzBasicDynamicSyntaxLanguage.IntelliPromptCompleteWord(SyntaxEditor syntaxEditor) at ProjectStudio.Gui.TabbedDocument.Editor.DisplayWordCompletion() at ProjectStudio.Framework.Buttons.DisplayWordCompletion() at ProjectStudio.Gui.Forms.Ide.mbiIntelliSenseCompleteWord_Activate(Object sender, EventArgs e) at TD.SandBar.ToolbarItemBase.OnActivate() at TD.SandBar.ButtonItemBase.OnActivate() at TD.SandBar. .(TopLevelMenuItemBase , Boolean , Boolean , Point ) at TD.SandBar.TopLevelMenuItemBase.Show(Boolean select) at TD.SandBar.TopLevelMenuItemBase.Show() at TD.SandBar.ToolBar.OnItemPush(ToolbarItemBase item, Point position) at TD.SandBar.ToolBar.OnMouseDown(MouseEventArgs e) at TD.SandBar.MenuBar.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at TD.SandBar.ToolBar.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
So, you may want to put a check in that there is some text under the caret when selecting this menu option.
The second bug is again with the Complete Word menu option.
If I type, say, Draw and then select the Edit -> IntelliSense -> Complete Word menu option, instead of selecting an item from the list I press escape to get rid of the entries and then press Delete I get the following error:
System.NullReferenceException: Object reference not set to an instance of an object. at PlugIns.Languages.BlitzBasic.BlitzBasicDynamicSyntaxLanguage.OnSyntaxEditorKeyTyping(SyntaxEditor syntaxEditor, KeyTypingEventArgs e) at ActiproSoftware.SyntaxEditor.SyntaxEditor.a(EditorView A_0, Keys A_1, Char A_2, Boolean A_3) at ActiproSoftware.SyntaxEditor.SyntaxEditor.OnKeyDown(KeyEventArgs e) at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m) at System.Windows.Forms.Control.ProcessKeyMessage(Message& m) at System.Windows.Forms.Control.WmKeyChar(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Hope that helps.