mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Fixed unindenting selection
This commit is contained in:
parent
62e62ed907
commit
efbef794e0
1 changed files with 2 additions and 4 deletions
|
@ -2079,9 +2079,7 @@ namespace IDE.ui
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((keyChar == '\t') && (mWidgetWindow.IsKeyDown(.Shift)))
|
bool isTab = (keyChar == '\t') && (!mWidgetWindow.IsKeyDown(.Shift));
|
||||||
return;
|
|
||||||
|
|
||||||
if ((gApp.mSymbolReferenceHelper != null) && (gApp.mSymbolReferenceHelper.IsRenaming))
|
if ((gApp.mSymbolReferenceHelper != null) && (gApp.mSymbolReferenceHelper.IsRenaming))
|
||||||
{
|
{
|
||||||
if ((keyChar == '\r') || (keyChar == '\n'))
|
if ((keyChar == '\r') || (keyChar == '\n'))
|
||||||
|
@ -2106,7 +2104,7 @@ namespace IDE.ui
|
||||||
|
|
||||||
int32 startRevision = mData.mCurTextVersionId;
|
int32 startRevision = mData.mCurTextVersionId;
|
||||||
|
|
||||||
bool doAutocomplete = (keyChar == '\t');
|
bool doAutocomplete = (keyChar == '\t') && (!mWidgetWindow.IsKeyDown(.Shift));
|
||||||
if ((mAutoComplete != null) && (keyChar == '\r') &&
|
if ((mAutoComplete != null) && (keyChar == '\r') &&
|
||||||
((!mIsMultiline) || (mAutoComplete.mIsUserRequested)))
|
((!mIsMultiline) || (mAutoComplete.mIsUserRequested)))
|
||||||
doAutocomplete = true;
|
doAutocomplete = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue