CLOSED FIXED 11300
[Drosera] Inline breakpoint editor
https://bugs.webkit.org/show_bug.cgi?id=11300
Summary [Drosera] Inline breakpoint editor
David Smith
Reported 2006-10-15 02:59:36 PDT
Xcode 3 has an inline breakpoint editor that, while less than ideal, provides some interesting ideas for interaction. Attached is a draft patch to add this functionality to Drosera.
Attachments
Draft patch to add an Xcode 3 style inline breakpoint editor (58.65 KB, patch)
2006-10-15 03:03 PDT, David Smith
no flags
Updated patch (26.41 KB, patch)
2006-10-18 01:46 PDT, David Smith
timothy: review+
David Smith
Comment 1 2006-10-15 03:03:46 PDT
Created attachment 11094 [details] Draft patch to add an Xcode 3 style inline breakpoint editor Just an added comment to the bug... I believe this Xcode 3 thing is safe to talk about, since it's on the Apple leopard page. If I'm breaking my NDA here, please tell me to shut up rather than cease-and-desisting. ;)
David Smith
Comment 2 2006-10-15 03:05:25 PDT
One further comment: the lack of transparent background on the images is a known issue with the current patch; I'll be re-photoshopping them before I ask for review.
David Smith
Comment 3 2006-10-18 01:46:14 PDT
Created attachment 11131 [details] Updated patch Fixes the transparency issues, and some state consistency issues.
Timothy Hatcher
Comment 4 2006-10-18 09:37:58 PDT
Comment on attachment 11131 [details] Updated patch Looks good.
Timothy Hatcher
Comment 5 2006-10-18 09:38:48 PDT
Three issues I fixed before landing. I tweaked the margins of the editor to have less space. Also the onlick in the editor html needs to reference window.parent to work. I made that change. onclick="window.parent.toggleBreakpointForEditor(this.parentNode.parentNode.parentNode) I made the save button remove the editor. Landed in r17107.
Timothy Hatcher
Comment 6 2006-10-18 09:40:30 PDT
Also when creating the editor div you need to create it in the source document, not the parent document. The source is in an iframe. Since that is the document you will apend to you need to create it there also. I made that change.
Timothy Hatcher
Comment 7 2008-05-17 09:55:59 PDT
Closing since Drosera has been replaced by the new Web Inspector debugger. Moving to the New Bugs component so the Drosera component can be closed and removed.
Note You need to log in before you can comment on or make changes to this bug.