That was easier than I thought – yeah, right

In my last post I announced that the GExperts code formatter now supported multiline string literals and boasted that this "was easier than I thought". Turns out that it was actually more complicated. I should have known immediately because two of the existing unit testes failed, but somehow I didn't notice that. Consider the following … Continue reading That was easier than I thought – yeah, right

GExperts Code Formatter now supports multi line string literals, but …

... but only in the code currently in SVN. There is no new release yet. That was easier than I thought: As of revision #4112 the formatter now actually does support multi line string literals. And only those unit tests that already failed still fail. Of course that does not mean that I have not … Continue reading GExperts Code Formatter now supports multi line string literals, but …

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: [delphi] const {(*} bla = ''' first line seconde line … Continue reading GExperts Code Formatter does not support multi line strings