This commit is contained in:
Kovid Goyal 2014-07-31 18:37:16 +05:30
parent bc5ab8eb13
commit 4e902d18d0

View File

@ -178,6 +178,10 @@ class EditorSettings(BasicSettings):
tw.setMinimum(2), tw.setSuffix(_(' characters')), tw.setMaximum(20)
l.addRow(_('Width of &tabs:'), tw)
self.tb = b = QPushButton(_('Change &templates'))
l.addRow(_('Templates for new files:'), b)
b.clicked.connect(lambda : TemplatesDialog(self).exec_())
lw = self('editor_line_wrap')
lw.setText(_('&Wrap long lines in the editor'))
l.addRow(lw)
@ -201,10 +205,6 @@ class EditorSettings(BasicSettings):
' time you open a HTML/CSS/etc. file for editing.'))
l.addRow(lw)
self.tb = b = QPushButton(_('Change &templates'))
l.addRow(_('Change the templates for creating new files:'), b)
b.clicked.connect(lambda : TemplatesDialog(self).exec_())
lw = self('inline_spell_check')
lw.setText(_('Show misspelled words underlined in the code view'))
lw.setToolTip('<p>' + _(