Remy Lebeau 1429 Posted February 4, 2022 Something that has been annoying me for awhile. When posting a code snippet and choosing the Pascal syntax highlighter, backslashes are treated as C/C++ escape sequences, which throws off the coloring. The actual Pascal language doesn't treat backslash as an escape character. Can this be fixed? 3 Share this post Link to post
Joseph MItzen 252 Posted February 7, 2022 On 2/4/2022 at 12:31 PM, Remy Lebeau said: The actual Pascal language doesn't treat backslash as an escape character. Can this be fixed? Good idea - I'll file an enhancement proposal that Pascal be fixed to treat backslash as an escape character. No more #13#10 in the era of Unicode... 1 Share this post Link to post
aehimself 399 Posted February 7, 2022 4 hours ago, Joseph MItzen said: No more #13#10 in the era of Unicode... That's a strange way to write sLineBreak 🙂 1 1 Share this post Link to post
Remy Lebeau 1429 Posted February 7, 2022 9 hours ago, Joseph MItzen said: Good idea - I'll file an enhancement proposal that Pascal be fixed to treat backslash as an escape character. Share this post Link to post
Fr0sT.Brutal 900 Posted February 9, 2022 As for me, I'm honestly too lazy to select Pascal language every time in the combobox so leave default HTML (yeah, HTML is default on Delphi forum) Share this post Link to post
Uwe Raabe 2063 Posted February 9, 2022 28 minutes ago, Fr0sT.Brutal said: (yeah, HTML is default on Delphi forum) This has already been brought up right at the start of this forum. If it were just a simple setting to be changed, I am pretty sure it would have been accomplished long ago. Share this post Link to post
Stefan Glienke 2018 Posted February 9, 2022 2 hours ago, Uwe Raabe said: If it were just a simple setting to be changed, I am pretty sure it would have been accomplished long ago. Took me less than 5 minutes to find this and another 5 minutes to try it out with chrome dev tools. 2 Share this post Link to post
Uwe Raabe 2063 Posted February 9, 2022 57 minutes ago, Stefan Glienke said: Took me less than 5 minutes to find this and another 5 minutes to try it out with chrome dev tools. Perhaps we should forward this to @Daniel Share this post Link to post