Skip to content

Commit

Permalink
rename (#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
octaeder authored Aug 31, 2023
1 parent 65e8ee9 commit 056e86b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/latexdocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3308,7 +3308,7 @@ void LatexDocument::updateLtxCommands(bool updateAll)

LatexEditorView *view = getEditorView();
if (view) {
view->updateReplamentList(lp, false);
view->updateReplacementList(lp, false);
}
}
/*!
Expand All @@ -3327,7 +3327,7 @@ void LatexDocument::setLtxCommands(QSharedPointer<LatexParser> cmds)

LatexEditorView *view = getEditorView();
if (view) {
view->updateReplamentList(cmds, false);
view->updateReplacementList(cmds, false);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/latexeditorview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ LatexEditorView::~LatexEditorView()
}
}

void LatexEditorView::updateReplamentList(const QSharedPointer<LatexParser> cmds, bool forceUpdate)
void LatexEditorView::updateReplacementList(const QSharedPointer<LatexParser> cmds, bool forceUpdate)
{
QMap<QString, QString> replacementList;
bool differenceExists = false;
Expand Down
2 changes: 1 addition & 1 deletion src/latexeditorview.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class LatexEditorView : public QWidget
bool getSearchIsRegExp();
bool getSearchIsWords();

void updateReplamentList(const QSharedPointer<LatexParser> cmds, bool forceUpdate = false);
void updateReplacementList(const QSharedPointer<LatexParser> cmds, bool forceUpdate = false);
QMap<QString,QString> getReplacementList(){
return mReplacementList;
}
Expand Down

0 comments on commit 056e86b

Please sign in to comment.