Page 1 of 1

Feature 'copy/paste using element names' introduced in 4.4.1.0

Posted: Mon Dec 22, 2025 5:35 pm
by BrownSky
Hello, the new feature 'copy/paste using element names' introduced in 4.4.1.0 seems to be accessed by the key combination Alt+C, at least according to my reading of the sourcecode:

if (letter == 'c') // copy brush to clipboard
{
if (GetKeyModState() & KMOD_Shift)
CopyBrushToClipboard_Small(); // small size
else if (GetKeyModState() & KMOD_Alt)
CopyBrushToClipboard_Names(); // comma separated element names
else
CopyBrushToClipboard(); // normal size
}

But I cannot get it to work.

When in the level editor and I have NOT selected a rectangle of cells with the Grab Brush,
then Alt+C either:

a) does nothing detectable, i.e. doesn't copy the entire grid of cells in the level to the clipboard, in any form whatsoever;

or,

b) if there is one or more of the element specified in position 1 of the 3 user-selectable elements,
it 'flashes' [appears to select, but not really] all visible instances of that element, for as long as the Alt key is held down. But still does not copy any cells to the clipboard.

If I HAVE selected a rectangle of cells with the Grab Brush,

then Alt+C does the same as above, but it also 'disappears' the Grab brush selection.

Does anyone know if there is some subtle way of using the Alt key, specifically Alt+C, to bypass its use for selecting instances of the first user-specified element?

BTW, the only other use I have found for Alt is, if you hit Alt+Enter, it first selects the cells as described above, and then toggles the application between windowed mode and full screen mode.

Any help is appreciated.

Thank you

John

Re: Feature 'copy/paste using element names' introduced in 4.4.1.0

Posted: Tue Dec 23, 2025 1:11 am
by Holger
Sorry for not making this clear enough in the announcement -- just use "Ctrl-Alt-c" to copy element names to the clipboard.

You can also find this documented directly in the level editor on the "CONF -> HELP" tab, under "COPY / PASTE".

I have also updated the announcement text to contain the key shortcut.

Hope it works for you now! :)