[Cuis-dev] Wrong feedback adding an extension category?

H. Hirzel hannes.hirzel at gmail.com
Thu Mar 6 08:39:35 PST 2025


Hello

I would like to add the method #exportAsPNG given below to class Morph 
with an extension category indicating that it belongs to package 
'Graphics-Files-Additional'. The package has been loaded before.

If I choose the menu option 'New extension Category ...' I get

     'The selected prefix does not match any package name. Do you want 
to use it anyway?'

If I say yes I can add it. However the feedback given seems to be wrong.

Kind regards

Hannes

------------------------

exportAsPNG
     "Export the receiver's image as a PNG."
     self request: 'Enter file name'
         initialAnswer: (self printStringLimitedTo: 20),'.png'
         do: [:aString| (self imageForm: 32) writePNGfileNamed: aString]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: New extension category.gif
Type: image/gif
Size: 310035 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250306/7649746e/attachment-0001.gif>


More information about the Cuis-dev mailing list