Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
gtkhtml2
bnc-465432-delete-table-text.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc-465432-delete-table-text.patch of Package gtkhtml2
Index: gtkhtml/htmlengine-edit-cut-and-paste.c =================================================================== --- gtkhtml/htmlengine-edit-cut-and-paste.c (revision 9066) +++ gtkhtml/htmlengine-edit-cut-and-paste.c (working copy) @@ -1902,9 +1902,18 @@ } } while (prev && prev->parent->next && (cur = html_object_head (prev->parent->next))); - if (prev) - /* cluev end is in the selection */ - delete_upto (e, &start, &end, prev, html_object_get_length (prev)); + if (prev) { + /* cluev end is in the selection. Lets handle this case just like simple delete + since text is the selection itself*/ + if (e->mark) + html_cursor_destroy (e->mark); + html_cursor_destroy (e->cursor); + e->mark = start; + e->cursor = end; + start = end = NULL; + delete_object (e, NULL, NULL, HTML_UNDO_UNDO, TRUE); + break; + } } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor