mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-25 02:58:02 +02:00
Adding "CTRL UP/DOWN" tutorial for autocomplete
This commit is contained in:
parent
e65e4049fa
commit
5f84a7e4e3
3 changed files with 44 additions and 4 deletions
|
@ -631,6 +631,11 @@ namespace IDE
|
|||
}
|
||||
}
|
||||
|
||||
public struct TutorialsFinished
|
||||
{
|
||||
public bool mCtrlCursor;
|
||||
}
|
||||
|
||||
public bool mLoadedSettings;
|
||||
|
||||
public CompilerSettings mCompilerSettings = new .() ~ delete _;
|
||||
|
@ -641,6 +646,7 @@ namespace IDE
|
|||
public RecentFiles mRecentFiles = new RecentFiles() ~ delete _;
|
||||
public String mWakaTimeKey = new .() ~ delete _;
|
||||
public bool mEnableDevMode;
|
||||
public TutorialsFinished mTutorialsFinished = .();
|
||||
|
||||
public this()
|
||||
{
|
||||
|
@ -700,6 +706,11 @@ namespace IDE
|
|||
sd.Add("EnableDevMode", mEnableDevMode);
|
||||
}
|
||||
|
||||
using (sd.CreateObject("TutorialsFinished"))
|
||||
{
|
||||
sd.Add("CtrlCursor", mTutorialsFinished.mCtrlCursor);
|
||||
}
|
||||
|
||||
String dataStr = scope String();
|
||||
sd.ToTOML(dataStr);
|
||||
gApp.SafeWriteTextFile(path, dataStr);
|
||||
|
@ -749,6 +760,11 @@ namespace IDE
|
|||
sd.Get("WakaTimeKey", mWakaTimeKey);
|
||||
sd.Get("EnableDevMode", ref mEnableDevMode);
|
||||
}
|
||||
|
||||
using (sd.Open("TutorialsFinished"))
|
||||
{
|
||||
sd.Get("CtrlCursor", ref mTutorialsFinished.mCtrlCursor);
|
||||
}
|
||||
}
|
||||
|
||||
public void Apply()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue