Skip to content

Commit e256208

Browse files
committed
Update docstrings
1 parent c72b2d5 commit e256208

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

novelwriter/gui/doceditor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2564,7 +2564,7 @@ def __init__(self, parent: QWidget) -> None:
25642564
self.triggered.connect(self._emitComplete)
25652565

25662566
def updateMetaText(self, text: str, pos: int) -> bool:
2567-
"""Update the menu options based on the line of text."""
2567+
"""Update the menu options based on the line of meta text."""
25682568
self.clear()
25692569
kw, sep, _ = text.partition(":")
25702570
if pos <= len(kw):
@@ -2598,7 +2598,7 @@ def updateMetaText(self, text: str, pos: int) -> bool:
25982598
return True
25992599

26002600
def updateCommentText(self, text: str, pos: int) -> bool:
2601-
"""Update the menu options based on the line of text."""
2601+
"""Update the menu options based on the line of comment text."""
26022602
self.clear()
26032603
cmd, sep, _ = text.partition(":")
26042604
if pos <= len(cmd):

0 commit comments

Comments
 (0)