Closed Bug 657106 Opened 13 years ago Closed 13 years ago

Give Debug Plain Text Editor a context menu

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.2

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

Attachments

(1 file)

At the moment the plain text editor available from the composer debug menu does not have a context menu.
This patch gives it a context menu.
Attachment #532420 - Flags: review?(neil)
Can't test because I'm getting this:

XML Parsing Error: undefined entity
Location: chrome://debugqa/content/debugQATextEditorShell.xul
Line Number 113, Column 7:
      <menu id="viewMenu"
------^
Comment on attachment 532420 [details] [diff] [review]
Add context menu for plain text editor patch v1.0 [Checked in: Comment 4]

>+  <script type="application/javascript"
>+          src="chrome://communicator/content/contentAreaClick.js"/>
Why do we need this script?
(Nit: communicator scripts belong between editor and global scripts.)
(In reply to comment #2)
> Comment on attachment 532420 [details] [diff] [review] [review]
> Add context menu for plain text editor patch v1.0
> 
> >+  <script type="application/javascript"
> >+          src="chrome://communicator/content/contentAreaClick.js"/>
> Why do we need this script?
Without it you get, when right clicking on the sidebar, in the error console:
Error: contentAreaClick is not defined
Source File: chrome://debugqa/content/debugQATextEditorShell.xul
Line: 1
Attachment #532420 - Flags: review?(neil) → review+
Comment on attachment 532420 [details] [diff] [review]
Add context menu for plain text editor patch v1.0 [Checked in: Comment 4]

With communicator script load moved between editor and global loads.

http://hg.mozilla.org/comm-central/rev/d850703965b6
Attachment #532420 - Attachment description: Add context menu for plain text editor patch v1.0 → Add context menu for plain text editor patch v1.0 [Checked in: Comment 4]
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.2a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: