src/eric7/QScintilla/MarkupProviders/HtmlProvider.py

branch
eric7
changeset 9494
0b38ab887b0d
parent 9482
a2bc06a54d9d
child 9653
e67609152c5e
equal deleted inserted replaced
9493:aeaa6bf49831 9494:0b38ab887b0d
403 if cline == editor.lines() - 1: 403 if cline == editor.lines() - 1:
404 editor.insertAt(lineSeparator, cline, 1000) 404 editor.insertAt(lineSeparator, cline, 1000)
405 editor.insertAt(markup, cline + 1, 0) 405 editor.insertAt(markup, cline + 1, 0)
406 editor.setCursorPosition(cline + 2, 6) 406 editor.setCursorPosition(cline + 2, 6)
407 editor.endUndoAction() 407 editor.endUndoAction()
408
409
410 def createProvider():
411 """
412 Function to instantiate a markup provider object.
413
414 @return reference to the instantiated markup provider opject
415 @rtype HtmlProvider
416 """
417 return HtmlProvider()

eric ide

mercurial