mirror of
https://github.com/textmate/textmate.git
synced 2026-01-14 17:28:05 -05:00
Add more (crash reports) debug info when dragging text
This commit is contained in:
@@ -3596,6 +3596,7 @@ static char const* kOakMenuItemTitle = "OakMenuItemTitle";
|
||||
D(DBF_OakTextView_DragNDrop, bug("plain text: %s\n", [text UTF8String]););
|
||||
if(shouldMove)
|
||||
{
|
||||
crashInfo << text::format("buffer size: %zu", documentView->size()) << ", move selection (" << to_s(documentView->ranges()) << ") to " << to_s(pos);
|
||||
documentView->move_selection_to(pos);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user