~aesthete-team/aesthete/bush

« back to all changes in this revision

Viewing changes to aesthete/glypher/Caret.py

  • Committer: Phil Weir
  • Date: 2012-09-21 06:47:38 UTC
  • Revision ID: phil.t.weir@googlemail.com-20120921064738-p52vzq649qlk9x2e
gly: brackets activate on script surround of mul

Show diffs side-by-side

added added

removed removed

Lines of Context:
788
788
    def new_word(self) :
789
789
        """Add a new word into the current phrase."""
790
790
 
791
 
        if not self.phrased_to : return
 
791
        if not self.phrased_to :
 
792
            return
792
793
        self.phrased_to.set_active(False)
793
794
 
794
795
        word = GlypherWord(self.phrased_to)
807
808
        self.phrased_to = word.get_parent()
808
809
        self.phrased_to.set_active(True)
809
810
 
810
 
        self.try_suggestion()
 
811
        #self.try_suggestion()
 
812
        self.change_attached(word)
811
813
            
812
814
    def new_phrase(self, parent, enter = True) :
813
815
        """Add a new phrase (parent) into the current phrase."""