GExperts Code Formatter does not support multi line strings

I expected this but just confirmed it:
The GExperts code formatter does not handle multi line strings correctly (bug #337)

For now the workaround is using the comment to prevent formatting (configured on the Misc tab of the formatter configuration dialog):

Use it like this:

const
{(*}
  bla = '''
    first line
    seconde line
      indented third line
        fourth line even further indented
    last line, no longer indented
  ''';
{*)}

Note: This only works as long as the string itself does not contain these special comments.

This also works for other constructs that the formatter does not format correctly or that you want to be formatted differently.

Discussion about this in the corresponding post in the international Delphi Praxis forum.