Editing Algorithms in 4diac [message #1848397] |
Wed, 01 December 2021 07:47 |
Barry Dowdeswell Messages: 49 Registered: November 2018 |
Member |
|
|
Hi,
I am experimenting with writing all my function block algorithms directly in the 4diac IDE rather than patching the .cpp and ,h files manually after exporting. I have set the Language to AnyText.
However, in the Algorithm window, editing commands like Ctrl-C for copy and Ctrl-V for paste do not work. Are there special key combinations that do?
Also, is there any 4diac setting which will stop the code generator creating these lines?
#pragma GCC warning "Algorithm of type: 'AnyText' may lead to unexpected results!"
#pragma message ("warning Algorithm of type: 'AnyText' may lead to unexpected results!")
I am running under Linux in 4diac-ide 1.14.0 Build 2021-05-05_1658.
Thank you,
Barry
[Updated on: Wed, 01 December 2021 08:00] Report message to a moderator
|
|
|
|
|
Re: Editing Algorithms in 4diac [message #1848433 is a reply to message #1848426] |
Thu, 02 December 2021 01:19 |
Barry Dowdeswell Messages: 49 Registered: November 2018 |
Member |
|
|
Thank you Alois and Martin - I appreciate you replying so quickly.
I checked the Menu-Bar menu but unfortunately that seems to be linked to the Algorithm list on the left in the picture I attached. Selecting text in the Algorithm window and then copy/paste from the menu just created new Algorithm entries in the list. Could I please log that as a bug?
Cheers,
Barry
[Updated on: Thu, 02 December 2021 01:20] Report message to a moderator
|
|
|
|
Re: Editing Algorithms in 4diac [message #1848444 is a reply to message #1848437] |
Thu, 02 December 2021 09:18 |
Barry Dowdeswell Messages: 49 Registered: November 2018 |
Member |
|
|
Thanks Alois,
I found a simple work-around. I created my new algorithm in an open Linux Text Editor window and was able to paste it in. It appears that once it is in the Linux clipboard buffer, you can then paste it into the algorithm window. You just can't select and copy text already in the Algorithm window at the moment.
[Updated on: Thu, 02 December 2021 09:19] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03167 seconds