Thanks You very much for all the solutions!
Marry Christmas to ALL of You!
(Sorry I had not time to answer sooner, but I had a deadline until Christmas. Which I've succeeded! )
1. I've never have thought that it could be solved with Edit>Multiline
("cut first", paste it back ... )1.1. Especially because it is translated to my local language (hu) as "Beillesztés forráskóddal ..."
= which could be translated back to English as: "Paste with source code ..."
1.2. IMHO the
"Beillesztés mint ..." = "Paste as ..." would be a better naming for that menu.
2. Yes, I had 25 years long used a separate little EXE to do the job, which I've wrote to myself (in D7), having 2 text boxes + 1 button which already copied to the clipboard the result.
(... but this time I did not have it at my hand, because I'm developing on a remote secured Win-VPS via RDP.) 3. Those, who are developing Lazarus IDE, please consider to:
- Add +1 line under the context menu [Source]: '
Convert to '...'+sLineBreak+ (put spaces before/after + sign, if it is set so.
'string' + sLineBreak +)
That's where I was (logically) searched first. (and +3x after, if I might have missed something)
4. While I like the idea that the new FPC will be able to handle multiline strings at the source, that would mean we'll loose intention (="TABulation") of the code.
Personally I always disliked it in other programming languages. Makes very hard to see where the real code starts or ends.
PS.: Edited Subject as [SOLVED] ...