appendText bug on Neko OSX?

Hi all,

Am I seeing things straight? On OSX (10.11.6) running for Neko the code below does not show the third and fourth line of text in the text field. Uncommenting the last line reveals those lines (works as expected on Windows).

Commenting the line that adds ‘the second line’ makes sure no text shows on my machine…

package;

import openfl.display.Sprite;
import openfl.text.TextField;

class Main extends Sprite 
{
		
	public function new () 
	{
		super ();
		
		var textField:TextField = new TextField();
		textField.width = textField.height = 200;
		textField.border = true;
		addChild(textField);

		textField.appendText("This is the first line\n");
		textField.text = textField.text + "This is the second line\n";
		textField.appendText("This is the third line\n");
		textField.appendText("This is the fourth line\n");
		// textField.text = textField.text + " ";   // uncommenting this line reveals the third and fourth line
	}
}

My versions are:

haxelib list
actuate: 1.8.6 [1.8.7]
box2d: [1.2.3]
flixel-addons: 2.0.0 2.1.0 [2.2.0]
flixel-demos: 2.1.0 2.2.0 [2.3.0]
flixel-templates: 2.0.1 2.0.2 [2.1.0]
flixel-tools: 1.1.3 [1.2.1]
flixel-ui: 2.0.0 2.1.0 [2.2.0]
flixel: 4.0.1 4.1.0 4.1.1 [4.2.0]
hscript: [2.0.7]
hxcpp: 3.2.205 3.3.49 [3.4.43]
layout: [1.2.1]
lime-samples: 2.6.0 [3.4.0]
lime: 2.9.0 2.9.1 3.0.0 3.1.0 3.3.0 3.4.1 [3.5.2]
nape: [2.0.20]
noisehx: [0.0.1]
openfl-samples: 3.3.1 4.0.0 4.4.0 [4.5.1]
openfl: 3.6.1 4.0.0 4.1.0 4.3.1 4.4.1 [4.5.2]
spritesheet: [1.2.0]
swf: 2.2.0 2.2.1 2.2.4 2.3.0 [2.3.1]
yagp: [1.1.4]

Kind regards,
Manno

Fixed, thank you :smile:

1 Like

No, thank you! :thumbsup: