[MonoDevelop] SourceEditorDisplayBinding.patch

Jeffrey Stedfast fejj at novell.com
Mon Mar 26 15:45:11 EDT 2007


I've been running into a few bugs while using it, unfortunately...

For example, if I create a new file and then paste a block of code into
it, hitting any arrow key will cause a crash (see attachment for
backtrace).

Also, in some cases, holding down an arrow key will lock the UI
indefinitely until I release the key. For example, try placing your
cursor at the top of a source file in the "using ...;" statements and
then press-and-hold the down-arrow key... the cursor may take a step or
two downward, but after that it will freeze until you release the key.

Once you are inside the namespaced region, though, I don't have this
problem... *until* I reach the end of the file, next-to-last closing
curly brace, then it happens again:


..
            some_code ();
        }
    } <-- cursor freezes as it tries to pass this brace (end of class)
}

Jeff

-------------- next part --------------
(MonoDevelop:14986): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Exception: Unknown type 
  at GLib.Value.get_Val () [0x00000] 
  at Gtk.ListStore.GetValue (TreeIter iter, Int32 column) [0x00000] 
  at MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBindingWrapper.UpdateMethodBrowser (System.Object sender, Gtk.MoveCursorArgs args) [0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_MoveCursorArgs (object,Gtk.MoveCursorArgs)
  at Gtk.TextView.MoveCursorSignalCallback (IntPtr arg0, Int32 arg1, Int32 arg2, Boolean arg3, IntPtr gch) [0x00000] 

   at GLib.ExceptionManager.RaiseUnhandledException ()
   at Gtk.TextView.MoveCursorSignalCallback ()
   at Gtk.TextView.MoveCursorSignalCallback ()
   at GLib.Object.g_signal_chain_from_overridden ()
   at GLib.Object.g_signal_chain_from_overridden ()
   at Gtk.Widget.OnKeyPressEvent ()
   at MonoDevelop.SourceEditor.Gui.SourceEditorView.MonoDevelop.Ide.Gui.Content.ITextEditorExtension.KeyPress ()
   at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress ()
   at CSharpBinding.CSharpTextEditorExtension.KeyPress ()
   at MonoDevelop.SourceEditor.Gui.SourceEditorView.OnKeyPressEvent ()
   at Gtk.Widget.keypressevent_cb ()
   at Gtk.Widget.keypressevent_cb ()
   at Gtk.Application.gtk_main ()
   at Gtk.Application.gtk_main ()
   at Gtk.Application.Run ()
   at MonoDevelop.Ide.Gui.IdeApp.Run ()
   at MonoDevelop.Ide.Gui.IdeStartup.Run ()
   at MonoDevelop.Core.AddIns.AddInService.StartApplication ()
   at MonoDevelop.Startup.SharpDevelopMain.Main ()


More information about the Monodevelop-list mailing list