eric6/QScintilla/Editor.py

branch
maintenance
changeset 7507
a4eb1787ea41
parent 7503
b17672e6812d
child 7560
343db73c4842
equal deleted inserted replaced
7504:daa7d050b3af 7507:a4eb1787ea41
3148 self.lexer_.alwaysKeepTabs()) 3148 self.lexer_.alwaysKeepTabs())
3149 ): 3149 ):
3150 txt = self.text() 3150 txt = self.text()
3151 txtExpanded = txt.expandtabs(self.__getEditorConfig("TabWidth")) 3151 txtExpanded = txt.expandtabs(self.__getEditorConfig("TabWidth"))
3152 if txtExpanded != txt: 3152 if txtExpanded != txt:
3153 self.beginUndoAction 3153 self.beginUndoAction()
3154 self.setText(txt) 3154 self.setText(txt)
3155 self.endUndoAction() 3155 self.endUndoAction()
3156 3156
3157 self.setModified(True) 3157 self.setModified(True)
3158 3158

eric ide

mercurial