/**
  * Cria o FFWEntry
  * 
  * @name __construct()
  * @return GtkEntry
  */
 public function __construct()
 {
     parent::__construct();
     // Cria o buffer do texto
     $this->__widgets['buffer'] = new GtkSourceBuffer();
     parent::set_buffer($this->__widgets['buffer']);
     $this->mime_lang = "application/x-php";
     $this->set_language($this->mime_lang);
     // Abilita o highlight
     $this->__widgets['buffer']->set_highlight(TRUE);
     // Connecta os eventos
     parent::connect("key-release-event", array($this, "__released_key"));
     parent::get_buffer()->connect("insert-text", array($this, "__inserted_text"));
     // Cria dialog do autocomplete
     $this->__widgets['autocomplete'] = new FFWSourceEditorAutocomplete(parent::get_parent_window());
 }