setCaretOffset failure in certain instances
Reported by Roger | June 1st, 2011 @ 06:07 PM
How to reproduce:
open a file with dos "\r\n", highlight text "at the end of the
file, and up to the very last spot" (leave caret at end of
file).
Now choose "save as" and choose a new filename.
Result: new file is saved, but tab becomes uneditable.
error in sync exec
java.lang.IllegalArgumentException: Argument not valid
org.eclipse.swt.SWT:-1:in error'
org.eclipse.swt.SWT:-1:in
error'
org.eclipse.swt.SWT:-1:in error'
org.eclipse.swt.custom.StyledText:-1:in
setCaretOffset'
c:/dev/ruby/redcar/plugins/edit_view_swt/lib/edit_view_swt/document.rb:92:in
text='
c:/dev/ruby/redcar/plugins/edit_view/lib/edit_view/document.rb:254:in
text='
c:/dev/ruby/redcar/plugins/edit_view/lib/edit_view/document.rb:749:in
update_from_mirror'
c:/dev/ruby/redcar/plugins/edit_view/lib/edit_view.rb:606:in
check_for_updated_document'
c:/dev/ruby/redcar/plugins/edit_view/lib/edit_view.rb:278:in
focussed_edit_view='
c:/dev/ruby/redcar/plugins/edit_view_swt/lib/edit_view_swt.rb:442:in
swt_focus_gained'
c:/dev/ruby/redcar/plugins/edit_view_swt/lib/edit_view_swt.rb:597:in
focusGained'
c:/dev/ruby/redcar/plugins/edit_view_swt/lib/edit_view_swt.rb:451:in
focus'
c:/dev/ruby/redcar/plugins/edit_view_swt/lib/edit_view_swt/edit_tab.rb:17:in
focus' org/jruby/RubyMethod.java:133:in
call'
Comments and changes to this ticket
-
delisa September 24th, 2011 @ 02:49 PM
- State changed from new to resolved
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.
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.