QScintilla/MarkupProviders/HtmlProvider.py

changeset 5412
db5a520f69d3
parent 5411
a163fbbf2bea
child 6048
82ad8ec9548c
equal deleted inserted replaced
5411:a163fbbf2bea 5412:db5a520f69d3
215 return 215 return
216 216
217 from .HyperlinkMarkupDialog import HyperlinkMarkupDialog 217 from .HyperlinkMarkupDialog import HyperlinkMarkupDialog
218 dlg = HyperlinkMarkupDialog(True, False) 218 dlg = HyperlinkMarkupDialog(True, False)
219 if dlg.exec_() == QDialog.Accepted: 219 if dlg.exec_() == QDialog.Accepted:
220 text, target, title = dlg.getData() 220 text, target, title = dlg.getData()
221 if not text: 221 if not text:
222 text = target 222 text = target
223 223
224 if title: 224 if title:
225 link = '<a href="{0}" title="{2}">{1}</a>'.format( 225 link = '<a href="{0}" title="{2}">{1}</a>'.format(

eric ide

mercurial