Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
(minor Bug) Pasting into Code Editor window doesn't preserve line breaks

Registered User
2023-01-31 10:35:53

When I paste PHP code from Notepad++ to the RC Code Editor window the line breaks are not preserved, i.e. everything is in one line in RC. The same is also true for JavaScript and HTML Code elements.

The text in Notepad++ has only Unix-style 0x0A linefeed characters, not CR LF. It is actually the output generated by RC using Publish to local disk. I used Notepad++ to check and indent code, since it has syntax highlighting. The issue also exists when using Windows Notepad.exe.
In Notepad++ I can work-around the issue by using its EOL conversion feature but of course it would be better if I didn't have to remember that step.

Having said that, it would be nice if we could configure RC to use an external editor to edit PHP/JS/HTML code as it's very difficult to spot errors in the built-in editor (especially balancing quote characters).

Not a high priority issue, though.


Registered User
2023-02-01 00:28:36


2023-02-01 07:40:07

Thanks, added to the TODO list!

Create reply:

Posted by: (you are not logged in)

Enter the missing letter in: "In?ernational" (you are not logged in)




Possible Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



Copyright© 2020 Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact