On branch copyPaste the CLI can now list all entries of the current section and also save them using the standard CLI entries. Copying to a pseudo clipboard happens if you don't provide a name, so: "save section" (sa sec) will store it in /home/{user}/.local/share/yoshimi/clipboard
while: "save section a_nice_preset" will store it in the current presets path (as the GUI does). Using kdiff3, the results are proved to be identical to using the GUI copy function. I can't say I'm too happy with the code. I'm sure the pointers could be managed better, but I can't seem to get my head round the alternatives. Also I've had to move the following from private to public. I didn't want to do this but simply could not find how the GUI was getting there. void add2XMLsection(XMLwrapper *xml, int n); void getfromXMLsection(XMLwrapper *xml, int n); Most of the code for pasting is already there, but disabled. None of the hooks for updating the GUI have been done though. I'll take a break for a while but would be grateful if someone could find the time to look through it. -- Will J Godfrey {apparently now an 'elderly'} _______________________________________________ Yoshimi-devel mailing list Yoshimi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/yoshimi-devel