eric6/QScintilla/Editor.py

changeset 7546
bf5f777260a6
parent 7543
a737e240f27b
child 7560
343db73c4842
child 7575
3ebd1db41c15
equal deleted inserted replaced
7545:cd2f489f11d5 7546:bf5f777260a6
7142 Protected method handling event of the viewport. 7142 Protected method handling event of the viewport.
7143 7143
7144 @param evt reference to the event (QEvent) 7144 @param evt reference to the event (QEvent)
7145 @return flag indiating that the event was handled (boolean) 7145 @return flag indiating that the event was handled (boolean)
7146 """ 7146 """
7147 self.__markerMap.calculateGeometry() 7147 try:
7148 self.__markerMap.calculateGeometry()
7149 except AttributeError:
7150 # ignore this - there seems to be a runtime issue when the editor
7151 # is created
7152 pass
7148 return super(Editor, self).viewportEvent(evt) 7153 return super(Editor, self).viewportEvent(evt)
7149 7154
7150 def __updateReadOnly(self, bForce=True): 7155 def __updateReadOnly(self, bForce=True):
7151 """ 7156 """
7152 Private method to update the readOnly information for this editor. 7157 Private method to update the readOnly information for this editor.

eric ide

mercurial