mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added support for autocomplete inserting property overrides
This commit is contained in:
parent
ce66b658c4
commit
c931f92632
4 changed files with 148 additions and 28 deletions
|
@ -2184,12 +2184,14 @@ namespace IDE.ui
|
|||
bool allowChar = true;
|
||||
mIsInKeyChar = true;
|
||||
String insertType = scope String();
|
||||
mAutoComplete.InsertSelection(theChar, insertType);
|
||||
String insertStr = scope String();
|
||||
mAutoComplete.InsertSelection(theChar, insertType, insertStr);
|
||||
mIsInKeyChar = false;
|
||||
if (insertType != null)
|
||||
{
|
||||
//mGenerateAutocompleteHandler(false, false);
|
||||
if ((insertType == "method") && (theChar == '('))
|
||||
if (((insertType == "method") && (theChar == '(')) ||
|
||||
((insertType == "token") && (insertStr == "override")))
|
||||
{
|
||||
if (IsCursorVisible(false))
|
||||
mOnGenerateAutocomplete('\0', default);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue