Support and General Use > Theming and Appearance Customization

two minor comment handling changes

(1/4) > >>

JdGordon:
very simple patch changes 2 skin behaviours... asking you lot whether it should be commited or not...
the first change is to fix bug #9640... What it does it #comments in the middle of lines eats everything but leaves the new line there, #comments at the beginning of a line eats the whole line (line ending included)

so this code:

--- Code: ---mary # had
# a little
lamb
--- End code ---
looks like

--- Code: ---mary
lamb
--- End code ---
(in svn it would be "mary lamb" on one line





the second part of the patch lets you easily split long lines by putting % as the last character of the line, so

--- Code: ---once apon %
a time
--- End code ---
becomes "once apon a time" on one line.



so tell me what you think... I dont actually fiddle with skin code at all so don't know how useful this will all be :)

audio-i:
# comment fix: in my opinion nice (but not really that much critical?)

ability to split lines: I think in some cases using % for this could make WPS's hard to follow

Note: not that I would have voted like that, but perhaps the voting option "# comment fix AND opt3 but the character needs to be something else (which?)" should also be there?

robin0800:
I like opt 3 and would like to see this character used "¬" I have seen this in publications to indicate split lines

psycho_maniac:
opt3 but what if we used the + symbol?

JdGordon:
I used % to split lines because that is the standard "escape" character in the skins... the other possibilities I like are \ and just # as the last char, but that could be confusing...

Navigation

[0] Message Index

[#] Next page

Go to full version