Short: Actionable TextEditor.mcc MUI subclass Author: Cameron Armstrong (Nightfox) Uploader: Cameron Armstrong (Nightfox) Type: dev/mui Version: 1.0 Requires: MUI 3+; MCC_TextEditor 15.56+ Architecture: m68k-amigaos >= 3.1; ppc-amigaos; ppc-morphos Kurz: Aktionsfähige TextEditor.mcc-MUI-Unterklasse ActionTextEditor.mcc is a MUI custom class that subclasses TextEditor.mcc. Pressing Return with text in the gadget calls a hook you supply with MUIA_ActionTextEditor_SubmitHook. Right Shift + Return inserts a newline instead, the same as TextEditor.mcc. It was written for AmigaGPT and is published so other MUI programs can use the same Return-to-submit behaviour. MCC_TextEditor 15.56 or later MUST be installed before this class will load. Download it from: https://aminet.net/dev/mui/MCC_TextEditor-15.56.lha Requirements: - MUI 3 or later - MCC_TextEditor 15.56 or later installed (https://aminet.net/dev/mui/MCC_TextEditor-15.56.lha) - AmigaOS 3.1+ with a 68020 or higher, AmigaOS 4.1, or MorphOS Installation: - Extract MCC_ActionTextEditor.lha - Run Install-MCC_ActionTextEditor - The installer copies ActionTextEditor.mcc to MUI:Libs/MUI on AmigaOS or SYS:Classes/MUI on MorphOS - Reboot or restart MUI applications that should pick up the class Developer: - include/mui/ActionTextEditor_mcc.h is in the Developer drawer - Autodocs/MCC_ActionTextEditor.doc is in Developer/Autodocs - Class name: ActionTextEditor.mcc - Attribute: MUIA_ActionTextEditor_SubmitHook Source: https://github.com/sacredbanana/MCC_ActionTextEditor