Title: [158791] branches/safari-537.73-branch/Source/WebInspectorUI
- Revision
- 158791
- Author
- [email protected]
- Date
- 2013-11-06 14:31:38 -0800 (Wed, 06 Nov 2013)
Log Message
Merged r154550. <rdar://problem/15406685>
Modified Paths
Diff
Modified: branches/safari-537.73-branch/Source/WebInspectorUI/ChangeLog (158790 => 158791)
--- branches/safari-537.73-branch/Source/WebInspectorUI/ChangeLog 2013-11-06 22:29:17 UTC (rev 158790)
+++ branches/safari-537.73-branch/Source/WebInspectorUI/ChangeLog 2013-11-06 22:31:38 UTC (rev 158791)
@@ -1,3 +1,36 @@
+2013-11-06 Lucas Forschler <[email protected]>
+
+ Merge r154550
+
+ 2013-08-24 Joseph Pecoraro <[email protected]>
+
+ Web Inspector: Breakpoints in the editors gutter should have a contextmenu
+ https://bugs.webkit.org/show_bug.cgi?id=120169
+
+ Reviewed by Timothy Hatcher.
+
+ Updated CodeMirror now has a gutterContextMenu event. Use that to give
+ breakpoint related context menus. Add, Edit, Enable/Disable, Delete, and
+ Reveal in Debugger Navigation Sidebar.
+
+ * Localizations/en.lproj/localizedStrings.js:
+ "Add Breakpoint", and "Reveal in Debugger Navigation Sidebar".
+
+ * UserInterface/SourceCodeTextEditor.js:
+ (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.addBreakpoint):
+ (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.revealInSidebar):
+ (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.removeBreakpoints):
+ (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.toggleBreakpoints):
+ (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu):
+ Show a context menu when clicking on the gutter for 0 breakpoints,
+ 1 breakpoint, or >1 breakpoints. The only tricky handler is addBreakpoint,
+ since that must update the TextEditor for the new breakpoint info.
+
+ * UserInterface/TextEditor.js:
+ (WebInspector.TextEditor):
+ (WebInspector.TextEditor.prototype._gutterContextMenu):
+ Send to delegate if the delegate implements textEditorGutterContextMenu.
+
2013-11-04 Lucas Forschler <[email protected]>
Merge fixes for <rdar://problem/15168240>
Modified: branches/safari-537.73-branch/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js (158790 => 158791)
--- branches/safari-537.73-branch/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js 2013-11-06 22:29:17 UTC (rev 158790)
+++ branches/safari-537.73-branch/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js 2013-11-06 22:31:38 UTC (rev 158791)
@@ -30,6 +30,7 @@
l o c a l i z e d S t r i n g s [ "