|
On windows with my layout of keyboard there is some bug and I cannot format with the normal shortcut. To compensate I use the suggestion menu we can open via ctrl + t to format. But, doing that in a debugger leads to an error: «Instance of RubScrolledTextModel did not understand #formatSourceCode»
RubScrolledTextModel(Object)>>doesNotUnderstand: #formatSourceCode SugsGlamourCodeContext(SugsAbstractContext)>>formatSourceCode SugsFormatCode>>execute SugsFormatCode(Object)>>perform:orSendTo: [ | selArgCount | "show cursor in case item opens a new MVC window" (selArgCount := selector numArgs) = 0 ifTrue: [ target perform: selector ] ifFalse: [ selArgCount = arguments size ifTrue: [ target perform: selector withArguments: arguments ] ifFalse: [ target perform: selector withArguments: (arguments copyWith: evt) ]. self showShortcut ]. self changed ] in ToggleMenuItemMorph(MenuItemMorph)>>invokeWithEvent: in Block: [ | selArgCount |... BlockClosure>>ensure: CursorWithMask(Cursor)>>showWhile: ToggleMenuItemMorph(MenuItemMorph)>>invokeWithEvent: MenuMorph>>keyStroke:
|
|
|
Priority: 3 – Must Fix
|
|
Status: Work Needed
|
|
Assigned to: AndreiChis
|
|
Milestone: Pharo7.0
|
Go to Case
|
|