1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 23:04:09 +02:00

Fixes from macOS, first working build

This commit is contained in:
Brian Fiete 2019-10-15 17:27:09 -07:00
parent 2e84b4229c
commit 67ee302451
19 changed files with 237 additions and 107 deletions

View file

@ -45,13 +45,13 @@ namespace IDE
scope AutoBeefPerf("SpellChecker.Init");
mLangPath = new String(langPath);
mNativeSpellChecker = SpellChecker_Create(langPath);
if (mNativeSpellChecker == null)
return .Err;
String fileName = scope String();
GetUserDirectFileName(fileName);
//if (File.ReadLines(fileName) case .Ok(var lineEnumeratorVal))
GetUserDirectFileName(fileName);
let streamReader = scope StreamReader();
if (streamReader.Open(fileName) case .Ok)