Page 1 of 2

FixedFont attribute in TextEditor broken or?

Posted: Wed Jun 04, 2014 7:34 pm
by marko
The FixedFont attribute in TextEditor doesn't seem to work, I have like this:

Code: Select all

<texteditor id="myte" WrapMode="nowrap" FixedFont="true" ScrollBar="true" contents="enter text" cyclechain="1"/>
Or am I doing it wrong? :)

Re: FixedFont attribute in TextEditor broken or?

Posted: Wed Jun 04, 2014 10:35 pm
by airsoftsoftwair
Doesn't work here either. You have to report this to the TextEditor.mcc team. Tell them MUIA_TextEditor_FixedFont is not working.

Re: FixedFont attribute in TextEditor broken or?

Posted: Wed Jun 04, 2014 10:54 pm
by marko
Ok, I'll report to them, good that the bug got confirmed through.

Thanks for the fast reply :)

Re: FixedFont attribute in TextEditor broken or?

Posted: Wed Jun 04, 2014 11:26 pm
by marko
You have to report this to the TextEditor.mcc team. Tell them MUIA_TextEditor_FixedFont is not working.
Done, I made a Ticket on their TextEditor tracker just now.

Re: FixedFont attribute in TextEditor broken or?

Posted: Fri Jun 06, 2014 9:31 pm
by tboeckel
@marko

If TE.mcc ticket #111 was opened by you then it is missing the absolute minimum required information. You just stated "it doesn't work", nothing else. No version, no operating system, no code snippet, nothing. This is not how bug reports are going to result in a fix for the problem. And you opened the ticket anonymously which makes it impossible for us to ask any further questions, because you will get no notification.

I cannot tell how Hollywood converts its own object description to a bunch of attributes for the NewObject() call, so it is hard to tell where the problem is located exactly. YAM is the proof that the attribute is working. You can switch all read/write instances of TE.mcc to fixed fonts and this is definitely working. But it cannot be changed on the fly for an already existing object. MUIA_TextEditor_FixedFont can be set at object creation time only.

Re: FixedFont attribute in TextEditor broken or?

Posted: Sat Jun 07, 2014 4:13 am
by marko
@tboeckel

Hi, yes ticket #111 was opened by me. Yes I know, sorry I forgot to provide some info as well, I was little tired at that moment haha ;)

But I did reply to that message and it is currently marked as "Post awaiting moderation." as seen here: http://sourceforge.net/p/texteditor-mcc/bugs/111/

Luckily, I got my reptly still stored (in a TextEditor on my Win box ;) )

Anonymous wrote 1 day ago:
Oh sorry, I relize that now ;)

TextEditor 15.43 (18.12.2013) on AmigaOS 4.1 Update 6.

But I found a more recent version on OS4Depot now, and installed it to:

TextEditor 15.45 (05.04.2014)

But still no FixedFont.

/Marko Seppänen

Re: FixedFont attribute in TextEditor broken or?

Posted: Sat Jun 07, 2014 4:25 am
by marko
@tboeckel
And you opened the ticket anonymously which makes it impossible for us to ask any further questions, because you will get no notification.
I don't usually hang on SourceForge and I did not want to open "yet another account to keep track on among loads of them".

But then it hit me, I DO actually have an account there, so I created a NON-anonymous second ticket #112, "No Horizontal ScrollBar when autowrapping is OFF".

Here:
http://sourceforge.net/p/texteditor-mcc/bugs/112/

Re: FixedFont attribute in TextEditor broken or?

Posted: Sat Jun 07, 2014 4:48 am
by marko
@Andreas
I cannot tell how Hollywood converts its own object description to a bunch of attributes for the NewObject() call, so it is hard to tell where the problem is located exactly.
I believe this is something for Andreas to meditate on :)

@tboeckel
You can switch all read/write instances of TE.mcc to fixed fonts and this is definitely working. But it cannot be changed on the fly for an already existing object. MUIA_TextEditor_FixedFont can be set at object creation time only.
Ok, I can try to do that...

*testing*

Yes, "switch all read/write instances of TE.mcc to fixed fonts" works, I managed to get fixed font in the TextEditor now :D Thanks for the tip :)

However, I can say that the FixedFont attribute in TE doesn't seem to have effect, I can set it to false and get Fixed font when Area Font is set to Fixed. If that is Hollywood or MUI TextEditor itself to fault I don't know...
But I got fixed font in the Editor now anyway :)

Re: FixedFont attribute in TextEditor broken or?

Posted: Mon Jun 09, 2014 11:14 pm
by airsoftsoftwair
I still can't get this to work but I've prepared a little demo program for tboeckel. So let's see what comes out of this.

Re: FixedFont attribute in TextEditor broken or?

Posted: Tue Jun 10, 2014 10:02 pm
by airsoftsoftwair
Working now here. You have to make sure that you configure a fixed font in the TextEditor.mcc MUI prefs because there is *no* default one and also no fallback to MUI's fixed font! So you have to explicitly configure a fixed font in the TextEditor.mcc prefs or it's not going to work.