196
231
if self.syntax in {'html', 'css'}:
197
232
b.addAction(actions['insert-image'])
198
233
if self.syntax == 'html':
199
245
self.format_bar = b = self.addToolBar(_('Format text'))
200
247
for x in ('bold', 'italic', 'underline', 'strikethrough', 'subscript', 'superscript', 'color', 'background-color'):
201
248
b.addAction(actions['format-text-%s' % x])
202
249
ac = b.addAction(QIcon(I('format-text-heading.png')), _('Change paragraph to heading'))