Closed
Bug 177363
Opened 22 years ago
Closed 20 years ago
Add Text Style to Context Menu in Composer
Categories
(SeaMonkey :: Composer, enhancement)
SeaMonkey
Composer
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: kickthedonkey, Assigned: kickthedonkey)
Details
Attachments
(4 files, 3 obsolete files)
5.11 KB,
application/x-javascript
|
Details | |
795 bytes,
patch
|
Details | Diff | Splinter Review | |
10.59 KB,
application/vnd.mozilla.xul+xml
|
Details | |
4.10 KB,
patch
|
Details | Diff | Splinter Review |
To reduce the number of 'mouse miles', it would be nice to have the 'Text Style' sub menu as part of the Context Menu when Text is selected.
Assignee | ||
Comment 1•22 years ago
|
||
Reassinged to myself (cherokeestargazer@yahoo.com)
Assignee: syd → cherokeestargazer
Assignee | ||
Comment 2•22 years ago
|
||
I was not really sure what format I should have provided this 'patch' in. I archived the two files I changed into comm_Patch.jar. The two files in the my archive are: content/editor/EditorContextMenuOverlay.xul content/editor/EditorContextMenu.js These file replace the files of the same name in chrome/comm.jar. If I need to provide this patch in another format, please email me and let me know. Changes in "EditorContextMenuOverlay.xul" ----------------------------------------- Added menu "fontStyleMenu_cm" to popupset "editorContentContextSet" Changes in "EditorContextMenu.js" ----------------------------------------- Added function call to SetElementEnabledById to enable Text Style sub menu if object selected is NOT an image.
Assignee | ||
Comment 3•22 years ago
|
||
Added call to SetElementEnabledById to enable menu item 'fontStyleMenu_cm' if object selected was NOT an image.
Attachment #104553 -
Attachment is obsolete: true
Assignee | ||
Comment 4•22 years ago
|
||
Added tags for the 'Text Style' menu item to be added to the Context Menu with in editor. Menu item added was 'fontStyleMenu_cm'.
Comment 5•22 years ago
|
||
cmanske: could you take a look at this "patch" and review it? reporter: please attach a patch in patch format, by using "cvs diff -u > name_of_patch_file" if you are using CVS.
Assignee | ||
Comment 6•22 years ago
|
||
Applied edit to current CVS version of file to add 'Text Style' submenu to the Context menu in Composer. Used call to SetElementEnabledById() to enable the submenu if objext selected was NOT an image
Attachment #104556 -
Attachment is obsolete: true
Assignee | ||
Comment 7•22 years ago
|
||
'cvs diff -U EditorContextMenu.js' output
Assignee | ||
Comment 8•22 years ago
|
||
Added tags to add 'Text Style' to Context menu in Composer
Attachment #104558 -
Attachment is obsolete: true
Assignee | ||
Comment 9•22 years ago
|
||
'cvs diff -U EditorContextMenuOverlay.xul' output
Assignee | ||
Updated•22 years ago
|
Attachment #104716 -
Attachment description: Inculdes edits to enable Text Styles in Context Menu → EditorContextMenu.js - Inculdes edits to enable Text Styles in Context Menu
Assignee | ||
Updated•22 years ago
|
Attachment #104717 -
Attachment description: Difference between modded version and CVS version → EditorContextMenu.js.dif - Difference between modded version and CVS version
Comment 10•22 years ago
|
||
Reporter, there is no need for attaching the whole document. Just attach one patch with the changes to both files, and mark it "patch". Maybe someone should CONFIRM this bug? I won't :-D
Updated•22 years ago
|
Attachment #104717 -
Attachment is patch: true
Attachment #104717 -
Attachment mime type: application/octet-stream → text/plain
Updated•22 years ago
|
Attachment #104719 -
Attachment is patch: true
Attachment #104719 -
Attachment mime type: application/octet-stream → text/plain
Attachment #104553 -
Attachment is patch: false
Attachment #104553 -
Attachment mime type: text/plain → application/zip
Comment 11•22 years ago
|
||
I'm not so sure this is a good idea! Context menus are crowded already. Brade?
I disagree with having this in the contextual menu. What we should have instead is (un)dockable menus. I recommend a WONTFIX for this bug.
Assignee | ||
Comment 13•22 years ago
|
||
You do acculate alot of 'mouse miles' by having to back through the menu system to get to some type of special style (like CODE...) Perhaps a drop down list on the toolbar would work... I'll try that...
Comment 14•20 years ago
|
||
per Glazman, wontfix.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•