Closed
Bug 180577
Opened 23 years ago
Closed 21 years ago
[RFE] color codes can be seen but not inserted
Categories
(Other Applications Graveyard :: ChatZilla, enhancement)
Other Applications Graveyard
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hcymulng02, Assigned: rginda)
References
Details
Attachments
(1 file, 3 obsolete files)
|
7.71 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021115
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021115
There's no way that I've found to insert color codes while typing a message in
Chatzilla. In mIRC and Klient (to mention two examples) a small color picker can
be brought up by pressing Ctrl-K. This then inserts the (mIRC-compatible)
control code for the selected color into the message at the cursor position. It
would be nice to have this functionality in Cz. Oh, and throw in the codes for
bold and underline too, while you're at it.
Reproducible: Always
Steps to Reproduce:
1. Try to use mIRC-style colors or bold/underline codes in your messages while
using Cz, using a convenient built-in color picker.
Actual Results:
Nothing.
Expected Results:
Something similar to the way established IRC clients like mIRC and Klient handle
insertion of color and bold/underline codes.
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Comment 1•23 years ago
|
||
This patch lacks a color picker, but users can insert color codes
like xchat.
%U: underline
%B: bold
%R: reverse
%O: normal
%C: color ex. %C4 = red, %C8 = yellow
Updated•23 years ago
|
Attachment #119168 -
Flags: review?(samuel)
Comment 2•23 years ago
|
||
Comment on attachment 119168 [details] [diff] [review]
patch v1
This is great, but it needs a pref (defaulting to off). Under Global Options
in the main pref pane add something like "Enable color code escape characters".
Attachment #119168 -
Flags: review?(samuel) → review-
Comment 3•23 years ago
|
||
Added "extensions.irc.colorCodes" and a checkbox in the preferences
dialog.
We already have "extensions.irc.munger.colorCodes". Isn't it confusing?
Should I rename these prefs?
Attachment #119168 -
Attachment is obsolete: true
Updated•23 years ago
|
Attachment #119347 -
Flags: review?(samuel)
Comment 4•23 years ago
|
||
Comment on attachment 119347 [details] [diff] [review]
patch v2
r=samuel@sieb.net with changes to the replacements to make them global (I made
the changes)
Attachment #119347 -
Flags: review?(samuel) → review+
Comment 5•23 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 6•23 years ago
|
||
This doesn't work for /me actions.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•23 years ago
|
||
Just a little note; I can't enter a raw % with this turned on.
E.g. I want to actually type "%C" (for example, as part of something else) and
can't.
Comment 8•23 years ago
|
||
(1) replaces color codes in /me command
(2) doesn't replace '%%B' or '%%U'
Attachment #119347 -
Attachment is obsolete: true
Updated•23 years ago
|
Attachment #120643 -
Flags: review?(samuel)
Comment 9•23 years ago
|
||
I've done a little work on an onkeypress handler for the inputs that would pop
up a colour guide in a tooltip. Would that sort of thing be desirable?
Comment 10•23 years ago
|
||
Applied against vanilla chatzilla 0.8.26. This adds an onkeypress handler to
the two textbox inputs (oninput would be ideal, but didn't work for me). If
the last character typed is a %, it pops up a tooltip describing %[UBROC%]. If
the last few characters look like a %C colour code, it's a tooltip showing the
colour codes.
What the heck, I was bored.
Comment 11•23 years ago
|
||
Doh... line 65 of my patch should have "color:white" in place of
"background-color:white". It's late.
Comment 12•23 years ago
|
||
Wow... just tried that pop-up patch - very neat. :) I see no reason that can't
go into ChatZilla.
Updated•21 years ago
|
Attachment #120643 -
Attachment is obsolete: true
Attachment #120643 -
Flags: review?(samuel)
Comment 13•21 years ago
|
||
This has been fixed in recent versions.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Core → Other Applications
Updated•1 year ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•