From e065ec51ae3b91b7bec2befc04373481f8605292 Mon Sep 17 00:00:00 2001 From: Volant Date: Fri, 4 Jul 2025 12:54:56 +0200 Subject: [PATCH] clarify removal of when using custom menus --- sindarin/extending.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sindarin/extending.md b/sindarin/extending.md index f1af16c..84d7f1c 100644 --- a/sindarin/extending.md +++ b/sindarin/extending.md @@ -138,8 +138,15 @@ SindarinCommand << #SindarinSTONParsingCommand package: 'Sindarin-Chapter-Commands' ``` -We add accessors to that instance variable: +We also remove the pragma `` from the `defaultName` class-side method. +```Smalltalk +defaultName + ^ 'steps to next #parseObjects' +``` +This pragma was used to register the command in the advanced debugger menu. However, since we are now registering each +command into our specific menu, the pragma is no longer necessary and would create a conflict. +We add accessors to that instance variable: ```Smalltalk targetParsingMethod: anObject targetParsingMethod := anObject