editors/TextViewer.py
changeset 894 a4919f228924
parent 871 1af078aa0cf8
child 980 c7ba67d01d65
equal deleted inserted replaced
893:f528c421637b 894:a4919f228924
   692                         if current_call is None and self.IsValidVariable(word, current_context):
   692                         if current_call is None and self.IsValidVariable(word, current_context):
   693                             current_call = {"interface": current_context.get(word, {}),
   693                             current_call = {"interface": current_context.get(word, {}),
   694                                             "extensible": False}
   694                                             "extensible": False}
   695                         current_context = self.Variables
   695                         current_context = self.Variables
   696                     else:
   696                     else:
   697                         if char == '[':
   697                         if char == '[' and current_context is not None:
   698                             self.ContextStack.append(current_context.get(word, None))
   698                             self.ContextStack.append(current_context.get(word, None))
   699                         current_context = self.Variables
   699                         current_context = self.Variables
   700                     
   700                     
   701                     word = ""
   701                     word = ""
   702                     last_styled_pos = current_pos
   702                     last_styled_pos = current_pos