Add more (crash reports) debug info when dragging text

This commit is contained in:
Allan Odgaard
2016-07-16 13:40:33 +02:00
parent f3a042aead
commit 866136fe83

View File

@@ -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