mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Use correct bfProject for formatting so we use defines properly
This commit is contained in:
parent
abf58fe89f
commit
e1292f3206
1 changed files with 8 additions and 2 deletions
|
@ -5130,10 +5130,16 @@ namespace IDE.ui
|
|||
if (!mIsBeefSource)
|
||||
return;
|
||||
|
||||
var bfSystem = IDEApp.sApp.mBfResolveSystem;
|
||||
var bfSystem = IDEApp.sApp.mBfResolveSystem;
|
||||
if (bfSystem == null)
|
||||
return;
|
||||
var parser = bfSystem.CreateEmptyParser(null);
|
||||
let projectSource = FilteredProjectSource;
|
||||
BfProject bfProject = null;
|
||||
if ((projectSource != null) && (mIsBeefSource))
|
||||
{
|
||||
bfProject = bfSystem.GetBfProject(projectSource.mProject);
|
||||
}
|
||||
var parser = bfSystem.CreateEmptyParser(bfProject);
|
||||
defer delete parser;
|
||||
var text = scope String();
|
||||
mEditWidget.GetText(text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue