Skip to content

Commit fbe9ec3

Browse files
committed
Disabled ability to shift+tab to choose recent command history
1 parent 093802f commit fbe9ec3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sendvw.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,6 +2729,8 @@ void CSendView::OnCompleteFunction()
27292729
CMUSHclientDoc* pDoc = GetDocument();
27302730
ASSERT_VALID(pDoc);
27312731

2732+
/* // NOT YET
2733+
27322734
CString strText;
27332735
GetEditCtrl().GetWindowText(strText);
27342736
@@ -2738,12 +2740,20 @@ void CSendView::OnCompleteFunction()
27382740
strText.Left (pDoc->m_strScriptPrefix.GetLength ()) == pDoc->m_strScriptPrefix // and it matches
27392741
)
27402742
{
2743+
2744+
*/
2745+
27412746
bool bLua = false;
27422747

27432748
if (pDoc->GetScriptEngine () && pDoc->GetScriptEngine ()->L)
27442749
bLua = true;
27452750

27462751
FunctionMenu (GetEditCtrl(), bLua, &pDoc->m_ExtraShiftTabCompleteItems, pDoc->m_bTabCompleteFunctions);
2752+
2753+
2754+
/* // NOT YET
2755+
2756+
27472757
return;
27482758
}
27492759
@@ -2786,6 +2796,7 @@ void CSendView::OnCompleteFunction()
27862796
27872797
GetEditCtrl().SetSel (0, -1); // select all
27882798
GetEditCtrl().ReplaceSel (dlg.m_strResult, TRUE);
2799+
*/
27892800

27902801
}
27912802

0 commit comments

Comments
 (0)