On Wed, Aug 4, 2010 at 8:22 AM, Daniel Carrera <[email protected]> wrote: > On Wed, Aug 4, 2010 at 1:28 PM, Erik de Castro Lopo > <[email protected]> wrote: >> In C and C++ (and probably Java) you can do: >> >> char * mult_line = "the first line\n" >> "second line\n" >> "third " >> "line!" ; > > Really? Looking at that, it feels... wrong. In Perl, PHP, Python, > JavaScript, Ruby and Lua you would have to add something to > concatenate these strings together.
As someone pointed out elsewhere in this thread, literal strings are concatenated at compile time in several languages (generation of byte-code for interpreted languages). However, this part of the discussion is rather off the point, because the example above isn't what causes the folding problem. It's when a single literal string spans multiple lines in the source code, not when multiple lines of source each have a literal string. I agree with the others who say the problem should be tackled by improving Scintilla. John _______________________________________________ Geany mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
