Skip to content

Commit 733cc81

Browse files
committed
PythonCodeCompletion: use newline instead of space in AutoCompShow to work correctly after wxScintilla API change
1 parent 02745f3 commit 733cc81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PythonCodeCompletion/PythonCodeCompletion.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ int PythonCodeCompletion::CodeComplete()
406406
// ed->GetControl()->AutoCompSetChooseSingle(m_IsAutoPopup ? false : m_CCAutoSelectOne);
407407
ed->GetControl()->AutoCompSetAutoHide(true);
408408
// ed->GetControl()->AutoCompSetDropRestOfWord(m_IsAutoPopup ? false : true);
409-
wxString final = GetStringFromArray(m_comp_results, _T(" "));
409+
wxString final = GetStringFromArray(m_comp_results, _T("\n"));
410410
final.RemoveLast(); // remove last space
411411

412412
ed->GetControl()->AutoCompShow(pos - start, final);

0 commit comments

Comments
 (0)