1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed crash when closing with autocomplete up

This commit is contained in:
Brian Fiete 2020-06-05 08:29:11 -07:00
parent 628a1340b2
commit a469707377
4 changed files with 40 additions and 20 deletions

View file

@ -218,6 +218,23 @@ namespace IDE.ui
bool mHasCustomColors;
FastCursorState mFastCursorState ~ delete _;
public List<PersistentTextPosition> PersistentTextPositions
{
get
{
return ((Data)mData).mPersistentTextPositions;
}
}
public Data Data
{
get
{
return (Data)mData;
}
}
public this(EditWidgetContent refContent = null) : base(refContent)
{
mAllowVirtualCursor = true;
@ -246,22 +263,6 @@ namespace IDE.ui
return new Data();
}
public List<PersistentTextPosition> PersistentTextPositions
{
get
{
return ((Data)mData).mPersistentTextPositions;
}
}
public Data Data
{
get
{
return (Data)mData;
}
}
[CallingConvention(.Stdcall), CLink]
static extern char8* BfDiff_DiffText(char8* text1, char8* text2);