mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Ensure autogsdoc outputs all paragraphs in the same way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32825 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fd0856ff58
commit
0f4d2e873c
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2011-04-10 Quentin Mathe <quentin.mathe@gmail.com>
|
||||
|
||||
* Tools/AGSOutput.m (-fitWords:from:to:maxSize:output:): Ensure all
|
||||
paragraphs are output in the same way. Each paragraph starts on a new
|
||||
line now, which results in a GSDoc output that looks a bit better and
|
||||
is easier to parse.
|
||||
|
||||
2011-04-09 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* Source/Additions/GSObjCRuntime.m (GSSelectorFromNameAndTypes):
|
||||
|
|
|
@ -204,10 +204,12 @@ static BOOL snuggleStart(NSString *t)
|
|||
for (i = start; size < limit && i < end; i++)
|
||||
{
|
||||
NSString *t = [a objectAtIndex: i];
|
||||
BOOL forceNewline = [t hasPrefix: @"<p>"];
|
||||
BOOL elementEndReached = (nest == 0 && [t hasPrefix: @"</"] == YES);
|
||||
|
||||
if (nest == 0 && [t hasPrefix: @"</"] == YES)
|
||||
if (elementEndReached || forceNewline)
|
||||
{
|
||||
break; // End of element reached.
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue