mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-27 20:18:01 +02:00
FastClassify emit fix
This commit is contained in:
parent
5271f5e2fd
commit
2b6a909b34
1 changed files with 4 additions and 1 deletions
|
@ -428,6 +428,7 @@ namespace IDE.ui
|
|||
bool mWantsCollapseRefresh;
|
||||
bool mRefireMouseOverAfterRefresh;
|
||||
bool mWantsBackgroundAutocomplete;
|
||||
bool mSkipFastClassify;
|
||||
QueuedAutoComplete mQueuedAutoComplete ~ delete _;
|
||||
public bool mWantsSpellCheck;
|
||||
int32 mTicksSinceTextChanged;
|
||||
|
@ -1488,7 +1489,7 @@ namespace IDE.ui
|
|||
|
||||
public void DoFastClassify()
|
||||
{
|
||||
if ((!mIsSourceCode) || (mEmbedKind != .None))
|
||||
if ((!mIsSourceCode) || (mSkipFastClassify))
|
||||
return;
|
||||
|
||||
//Debug.WriteLine("DoFastClassify");
|
||||
|
@ -6252,6 +6253,8 @@ namespace IDE.ui
|
|||
editData.mTextIdData.Insert(0, editData.mTextLength, ref editData.mNextCharId);
|
||||
|
||||
sourceViewPanel.mEditWidget.mEditWidgetContent.ContentChanged();
|
||||
// We have a full classify now, FastClassify will just mess it up
|
||||
sourceViewPanel.mSkipFastClassify = true;
|
||||
|
||||
if (prevCursorLineAndColumn.mLine >= embedEWC.GetLineCount())
|
||||
embedEWC.CursorLineAndColumn = .(embedEWC.GetLineCount() - 1, prevCursorLineAndColumn.mColumn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue