Phase 5: Editor und inkrementellen Compiler implementieren und archivieren

This commit is contained in:
2026-09-06 17:58:26 +02:00
parent df85a4b7b2
commit 9c85349a4d
36 changed files with 2993 additions and 247 deletions

View File

@@ -20,6 +20,9 @@ pub enum Command {
Copy,
Paste,
Clear,
Procedures,
PreviousCode,
Diagnostics,
NewSub,
NewFunction,
Events,
@@ -97,8 +100,6 @@ impl Command {
pub fn feature_phase(self) -> Option<u8> {
use Command::*;
match self {
Cut | Copy | Paste | Clear | NewSub | NewFunction | IncludedFile | IncludedLines
| Find | SelectedText | FindNext | Replace => Some(3),
Print | Shell | Start | Restart | Continue | CommandLine | OutputScreen => Some(4),
Events | Grid | Palette | MenuDesign | Toolbox | Tool(_) => Some(5),
NextStatement | AddWatch | InstantWatch | Watchpoint | DeleteWatch | DeleteWatches
@@ -194,6 +195,8 @@ pub fn menus(designer: bool) -> Vec<Menu> {
'v',
vec![
item("&Code…", Code),
item("&Procedures…", Procedures),
item("Diagno&stics…", Diagnostics),
item("&Form…", Form),
sep(),
item("&Next Statement", NextStatement),