import ui.TextView as TextView;

exports = Class(GC.Application, function () {

  this.initUI = function () {
    var textview = new TextView({
      superview: this.view,
      text: "Hello, world!",
      color: "white",
      x: 0,
      y: 100,
      width: this.view.style.width,
      height: 100
    });
  };

  this.launchUI = function () {};
});

@@ -107,24 +107,30 @@
 ) %7B%0A
+%0A
     
-var textview
+this.tvHelloWorld
  = n
@@ -183,17 +183,17 @@
   text: 
-%22
+'
 Hello, w
@@ -197,17 +197,17 @@
 , world!
-%22
+'
 ,%0A      
@@ -217,15 +217,15 @@
 or: 
-%22
+'
 white
-%22
+'
 ,%0A  
@@ -310,16 +310,17 @@
     %7D);%0A
+%0A
   %7D;%0A%0A  
@@ -348,15 +348,20 @@
 ion () %7B
+%0A%0A  
 %7D;%0A
+%0A
 %7D);%0A

Update formatting in template app