Modify ↓
Opened 3 years ago Closed 3 years ago #8 closed bug (wontfix)Yam 2.5+: formatting text only works on single line
Description
Yam 2.5+ does not color/bold/italicize text across mixed text (mixed formatted and non-formatted. It also will not format across multiple lines. Yam 2.4p1 will format across multiple lines and across mixed text formatting.
Example:
1) Start a new message.
2) Fill the text are with several lines, such as: Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards
3) Highlight a phrase and select "color", indicated between "*". Kind regards *Kind regards* Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards
4) Now selected mixed text (both colored and non- colored and select "color" (shown between / /). The formatting fails. Kind regards /*Kind regards* Kind regards/ Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards Kind regards
Moved from SF: Attachments (2)Change History (21)Changed 3 years ago by damatoChanged 3 years ago by damato
Screen grab of yam dev 2.6 text styles - Moved from SF. Original author: pwrx55eju comment:1 Changed 3 years ago by damato
YAM (or better TextEditor.mcc) does not allow styles for multiple words
The fact that changing the soft style only works on one single line is due
Moved from SF. Original poster: damato comment:2 Changed 3 years ago by damato
This is perfectly normal. Since YAM 2.5 mixed soft-styles are not
Please consult the following FAQ items for more information:
http://faq.yam.ch/content/3/41/en/why-isn_t-yam-able-to-mark-whole-sentences-as-bold_italic_underline-and-just-highlights-single-words-wasn_t-that-possible-already.html?highlight=bold
Moved from SF. Original poster: damato comment:3 Changed 3 years ago by damato
Okay. Let's put the question another way, then: Shouldn't
They can be turned off for reading of emails, but not
The problem disappears on an 8-color screen. However, on
The difficulty is more obvious to me, I suppose, because
Example:
When replying to the following line contained in an
http://eab.abime.net/showthread.php?t=38548
when editing a reply the URL becomes invisible because
I would like to also have the option to turn off text
With Yam 2.4p1 it was possible to make all text readable.
Moved from SF. Original poster: pwrx55eju comment:4 Changed 3 years ago by damato
Ok. it may be a possibility to provide a functionality to completely
So I am sorry, but the only solution I could think of is to provide you a
Moved from SF. Original poster: damato comment:5 Changed 3 years ago by damato
That would work fine. It would also be consistent behavior - if one can disable text soft-styles in the read window one should also be able to do the same in the write/edit window. How that is accomplished is another question.
It's a perfectly legitimate mode of using Workbench, so if one is going to operate Yam in this perfectly legitimate way, then the coloring is a problem and so it would be nice to disable when that difficulty exists
Yet another work-around is to edit the text in an external editor.
Well, that would actually work better than always highlighting the text and changing color as I did with 2.4p1.
Moved from SF. Original poster: pwrx55eju comment:6 Changed 3 years ago by damato
Ok. the night upcoming nightly build should finally implement the text
Now it is possible to enable/disable the text style and text color
Moved from SF. Original poster: damato comment:7 Changed 3 years ago by damato
I checked out the nightly build from 10-Oct-2008. Text colors
See uploaded screen grab
Mui Texteditor class is TextEditor.mcc 15.27 [020]
This is on A3000 Desktop with A3640 and OS3.9
Moved from SF. Original poster: pwrx55eju comment:8 Changed 3 years ago by damato
This behaviour is intended. See
Moved from SF. Original poster: thboeckel comment:9 Changed 3 years ago by damato
On 2008-10-14 thboeckel wrote:
Okay. I didn't realize that this was now the intended behavior.
Yes, now that I've read the FAQ, I've encountered that very problem
I can't say that I like it. I prefer to have styled text off anyhow,
I suppose soft styles could be extended, use escape characters, even
I don't like the current behavior; I understand the reason for it;
I DO LIKE that it can now be turned off. That is much appreciated.
Moved from SF. Original poster: pwrx55eju comment:10 Changed 3 years ago by damato
More on text styles:
Am I missing something re. the FAQ on soft styles? Or perhaps
Do I correctly understand the Yam uses the mui text editor class?
I've uploaded the gif image "SGrab_702x332x2_MuiSettings.GIF".
The reason the delimiters have no effect and are unchanged/not stripped
To illustrate, using the "[" to represent the escape character,
The gadget [u[boffers[n[u [ithe[n application [b*using it*[n the
In other words ESC-u turns on underline and the next ESC-u turns it
The content of the first line with the soft styles included, as
x='54686520676164676574201B751B626F66666572731B6E1B75201B69
That is, if you copy the first line of the sample text and paste
I don't know if the mui config panel is doing some fancy console
But if it IS representing EXACTLY what it actually does, then why
Now, before you go into a long explanation I am going to GUESS that
Just thought I would bring this up in case it has been overlooked.
Moved from SF. Original poster: pwrx55eju comment:11 Changed 3 years ago by damato
Another observation re. soft codes:
If the line of formatted text is highlighted and copied
Also, pasting that soft-styled text into a shell window
run multiview clipboard
But they are there because they appear when pasting that
Moved from SF. Original poster: pwrx55eju comment:12 Changed 3 years ago by damato
Is this bug still valid? Even after rereading it I still do not know
Moved from SF. Original poster: thboeckel comment:13 Changed 3 years ago by damato
On 2009-10-23 thboeckel wrote:
where
I'm not sure if you're directing the question to me or someone else.
As I recall, you explained that it is necessary for Yam 2.5+ to display
I also noted that within the mui config window, when the sample text is
also displayed without showing any formatting characters.
My question is: when used within YAM, why can't the Mui TextEditor
I presume it has something with the fact that mui text editor uses escape
Moved from SF. Original poster: pwrx55eju comment:14 Changed 3 years ago by damato
You are still failing to see that mail texts are different from arbitrary texts. Within a specific scope you can use arbitrary styles, colors, anything, just display them and hide the meta information behind them from the user.
But mails are read on far more systems than just AmigaOS and not every mail client is able to display text styles at all. Think about simple text terminals. But style markers can be displayed on *any* system. YAM just adds some fancy styles and colors to these markers.
And what's even more important: YAM must *NOT* delete any characters from a mail because it may have no idea what exactly it is deleting. What if the deleted characters are more important than anything else around them? You just cannot tell. Imagine the character "e" would have a specific meaning within the mail text (just like "*" now has). With your wished approach this would reduce your name to "rnst". Think about it!
The explanation in the FAQ may sound weak to you, but we cannot implement stuff into a mail client which will make it incompatible to thousands of other clients just because you don't like a specific feature. Disable styles and colors, that's all we can offer.
Moved from SF. Original poster: thboeckel comment:15 follow-up: ↓ 19 Changed 3 years ago by damato
On 2009-10-30 Thore Böckelmann (thboeckel) worte:
On the contrary, I am quite aware that mail/arbitrary texts differ. But I don't have any information about the specifics of how that is implemented in Yam, in what ways that implementation is constrained by MUI, nor am I familiar beyond a user level how mail system protocols work.
text
I'm also quite familiar with other mail/terminal systems on various and alternative platforms in addition to AmigaOS, such as packet (ham) radio. My amateur radio call-sign is VE4CJ, so you see I'm no stranger to things technical. I have also done a fair bit or programming with various flavours of Basic, Unfortunately I'm a little too busy these days to spend much time testing or giving feedback.
And you might be interested to know that at present I am primarily running an "Amiga" with a custom rom under E-UAE on my iMac
from
the
You
meaning
Agreed. Most certainly YAM should not delete any characters. And Yam did exhibit that undesirable behaviour in the past, which was not good. And there are problems with displaying styled text when you actually want to insert the styled text markers as non-interpreted text. For instance, if one wishes to include an ARexx script within a message while display styled text is turned on, then the ARexx comment markers become interpreted as styled text.
But there's nothing wrong with configuring or making configurable how yam internally interprets and DISPLAYS those characters, especially if that is a setting one can toggle on/off and especially if yam does not modify the underlying text when interpreting styled text markers. And there should also be a means of toggling on/off how yam should treat such text when saving it. For instance, in addition to the option of saving the message as the raw message source code, one should also have the option of saving the message text as displayed, but with the option of styled text on or off (in other words, with or without the text markers).
Now, the question is - how does one distinguish between styled text markers and instances where those same markers are intended to be inserted as literal, non-interpreted text? Moreover, if one should intentionally wish to insert literal text characters that coincide with the opening pair of styled text markers, but there are no complementary characters to close off that unintentional mark, then the rest of the text will inadvertently be interpreted as styled text!
Now here is something I am not clear on: is Yam's method of displaying styled text something that is unique to Yam? Or are the styled text markers also a method used on other platforms and email clients, other than Amiga?
If the styled text markers are a method that are used on other platforms and we are trying to retain compatibility, then no doubt there are constraints that affect what you can/can't do with how yam also uses them.
But if the method is unique to yam, then why not use an escape character sequence to better ensure that the styled text markers are correctly inserted? I presume ascii character 27 is not allowable within the text of a plain text message, so it would not be permissible as an escape character. For instance in the Amiga Shell the sequence "*E[" is interpreted as the escape character. Perhaps that sequence could be used within yam for the same purpose, to be interpreted as styled character delimiters when "show styled text" is toggled on. The downside of such an approach is that it would simply look even more messy on a system or email client where the method is not understood.
implement
You don't have to expend a lot of time and energy to try and convince me of it. My feedback on this matter is simply an attempt to give some constructive input. Since I have neither the time nor inclination to get involved in this project at the source code level, I'll have to trust you to have investigated what is practical or not in this matter, and have you have selected the best approach under the circumstances.
It is DEFINITELY a good idea to be able to toggle on/off show styled text, both when reading and when composing emails, and when saving displayed message text.
Moved from SF. Original poster: pwrx55eju comment:16 Changed 3 years ago by damato
comment:17 Changed 3 years ago by damato
comment:18 Changed 3 years ago by damato
comment:19 in reply to: ↑ 15 Changed 3 years ago by damato
Replying to pwrx55eju:
It is more or less a semi-standard that test like *bold* and /italic/ will be displayed in the corresponding soft style but the displaying text gadget keeps the soft style characters displayed. This is also done for example in Thunderbird or other modern email clients.
So sorry, but the current behaviour is perfectly valid and the expected behaviour and making it user-selectable would just add another point of user confusion. Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber
| ||||||||||||||||||||||||||||



Screen capture of soft styles in MUI text editor config panel - Moved from SF. Original author: pwrx55eju