Skip to content

Commit

Permalink
Fix typo: siganture -> signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarod42 authored and eranif committed Apr 12, 2024
1 parent c96ed55 commit 5dcf19c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CodeLite/CxxVariableScanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ CxxVariable::Vec_t CxxVariableScanner::DoGetVariables(const wxString& buffer, bo
vars.push_back(var);
} else if(!varInitialization.IsEmpty()) {
// This means that the above was a function call
// Parse the siganture which is placed inside the varInitialization
// Parse the signature which is placed inside the varInitialization
CxxVariableScanner scanner(varInitialization, m_standard, m_macros, true);
CxxVariable::Vec_t args = scanner.GetVariables(sort);
vars.insert(vars.end(), args.begin(), args.end());
Expand Down
2 changes: 1 addition & 1 deletion CodeLite/cl_calltip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ wxString clCallTip::Current()
return TipAt(m_curr);
}

void clCallTip::SelectSiganture(const wxString& signature)
void clCallTip::SelectSignature(const wxString& signature)
{
// search for a match
for (size_t i = 0; i < m_tips.size(); ++i) {
Expand Down
2 changes: 1 addition & 1 deletion CodeLite/cl_calltip.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class WXDLLIMPEXP_CL clCallTip
/**
* @brief set the tip to a specific tag
*/
void SelectSiganture(const wxString& signature);
void SelectSignature(const wxString& signature);

wxString TipAt(int at);
};
Expand Down
4 changes: 2 additions & 2 deletions Plugin/cl_editor_tip_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void clEditorTipWindow::AddCallTip(clCallTipPtr tip)
ti.highlightIndex = 0;
m_highlighIndex = 0;
if (!m_selectedSignature.IsEmpty()) {
tip->SelectSiganture(m_selectedSignature);
tip->SelectSignature(m_selectedSignature);
m_selectedSignature.Clear();
}
m_tips.push_back(ti);
Expand Down Expand Up @@ -425,7 +425,7 @@ void clEditorTipWindow::SelectSignature(const wxString& signature)
{
m_selectedSignature = signature;
if (GetTip()) {
GetTip()->SelectSiganture(m_selectedSignature);
GetTip()->SelectSignature(m_selectedSignature);
m_selectedSignature.clear();
}
}
Expand Down

0 comments on commit 5dcf19c

Please sign in to comment.