public void OpenDocument(Editor doc, string filename)
 {
     doc.OpenFile(filename);
     //TODO: do this on different threads
     projectService.CurrentProject.ParserService.ParseFile(filename, doc.editor.Text);
     //handle recent file stuff
     recentFileService.AddRecentFile(filename);
     recentFileService.SaveRecentFileList();
     recentFileService.GetRecentFiles();
 }
Beispiel #2
0
        public async Task <IActionResult> GetRecentFiles()
        {
            var retValue = await _recentFileService.GetRecentFiles();

            return(Ok(retValue));
        }