Phase 5: Editor und inkrementellen Compiler implementieren und archivieren
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user