#418 new
Curtis Jennings Schofield

Using Snippits - Hitting Enter and deleting snipit puts editor into bad state

Reported by Curtis Jennings Schofield | December 1st, 2010 @ 04:53 PM

Open new file

Browse to Snipit RubyOnRails => Migrations => columns => Remove Add Column

Hit enter key

hold shift - highlight and delete all text

hit tab

see the exceptions raise

I was able to crash the editor at some point after this on windows.

*** ERROR in Document controller: <Redcar::PairHighlighter::DocumentController> NativeException: java.lang.IllegalArgumentException: Index out of bounds
org.eclipse.swt.SWT:-1:in error'<br/> org.eclipse.swt.SWT:-1:inerror'
org.eclipse.swt.SWT:-1:in error'<br/> org.eclipse.swt.custom.StyledText:-1:inredrawRange'
/Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/pair_highlighter/lib/pair_highlighter/document_controller.rb:71:in clear' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/pair_highlighter/lib/pair_highlighter/document_controller.rb:145:incursor_moved' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/edit_view/lib/edit_view/document.rb:156:in cursor_moved' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/edit_view/lib/edit_view/document.rb:730:inrescue_document_controller_error' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/edit_view/lib/edit_view/document.rb:155:in cursor_moved' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/edit_view/lib/edit_view/document.rb:154:ineach' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/edit_view/lib/edit_view/document.rb:154:in cursor_moved' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/edit_view_swt/lib/edit_view_swt/document.rb:191:incaretMoved' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/swt/lib/swt/event_loop.rb:13:in start' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/plugins/core/lib/core/gui.rb:39:instart' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/lib/redcar.rb:184:in pump' /Users/o_o/.rvm/gems/ree-1.8.7-2010.01/gems/redcar-0.9.0/bin/redcar:30

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Pages