Cut/Copy/Paste via Clipboard
The methods used by kicad to achieve cut, copy, and paste have been raised on the users list a few times, probably because they are non-standard and confusing (Copy works differently in PCBNew from EESchema, and copying between EESchema sheets is impossible unless one "saves" a block). Also, copying and pasting between instances is completely impossible.
What I would like to know is why kicad doesn't achieve Cut, Copy, and Paste via the system clipboard? I appreciate that the Linux clipboard supports only text, but since kicad saves its files in text it should be possible to copy blocks as text to the system clipboard. That would also work with Windows, but I admit I know nothing about the Mac clipboard or even if it uses the concept.
Cut, Copy and Paste via the system clipboard as text would not only make kicad behave more conventionally, it would also allow the creation of a clipbook in a text editor file, and external manipulation of the clipboard contents using the text editor (as can be done with kicad files).
The main difficulty I can see (apart from the work required) would be that kicad would have to have a means of differentiating between kicad blocks being pasted in and random text from another application. That could be achieved by adding a kicad header, and/or by rejecting anything that fails a parse of the content. Better would be to create a graphical text object from anything that is rejected as not being a kicad block but which is of reasonable length.
I've raised this idea a couple of times on the users list and not had any response at all, positive or negative. What do you think of it?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- KiCad Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: