eric6/QScintilla/MarkupProviders/RestructuredTextProvider.py

changeset 8235
78e6d29eb773
parent 8218
7c09585bd960
equal deleted inserted replaced
8234:fcb6b4b96274 8235:78e6d29eb773
390 @type bool 390 @type bool
391 """ 391 """
392 if editor is None: 392 if editor is None:
393 return 393 return
394 394
395 if numberedList: 395 markup = " #. " if numberedList else " * "
396 markup = " #. "
397 else:
398 markup = " * "
399 lineSeparator = editor.getLineSeparator() 396 lineSeparator = editor.getLineSeparator()
400 editor.beginUndoAction() 397 editor.beginUndoAction()
401 if editor.hasSelectedText(): 398 if editor.hasSelectedText():
402 startLine, startIndex, endLine, endIndex = ( 399 startLine, startIndex, endLine, endIndex = (
403 editor.getSelection() 400 editor.getSelection()

eric ide

mercurial