Deploying to gh-pages from @ cappuccino/cappuccino@ffb6b3e6fe 🚀

This commit is contained in:
daboe01 committed 2026-05-19 16:53:31 +00:00
1 parent 480d8cb9d0
commit 587d04f6d2
3 files changed
+163 -149

No files matched your search

@@ -67521,7 +67521,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), funct
,["void","CPEvent"])]);
}
(CPFontManager == null ? CPFontManager : (CPFontManager.isa.method_msgSend["setFontPanelFactory:"] || _objj_forward)(CPFontManager, "setFontPanelFactory:", (CPFontPanel.isa.method_msgSend["class"] || _objj_forward)(CPFontPanel, "class")));
p;17;CPLayoutManager.jt;60860;@STATIC;1.0;i;8;CPText.ji;17;CPTextContainer.ji;11;CGContext.ji;14;CPTypesetter.ji;8;CPFont.jt;60759;objj_executeFile("CPText.j", YES);objj_executeFile("CPTextContainer.j", YES);objj_executeFile("CGContext.j", YES);objj_executeFile("CPTypesetter.j", YES);objj_executeFile("CPFont.j", YES);_isNewlineCharacter = function(chr)
p;17;CPLayoutManager.jt;60922;@STATIC;1.0;i;8;CPText.ji;17;CPTextContainer.ji;11;CGContext.ji;14;CPTypesetter.ji;8;CPFont.jt;60821;objj_executeFile("CPText.j", YES);objj_executeFile("CPTextContainer.j", YES);objj_executeFile("CGContext.j", YES);objj_executeFile("CPTypesetter.j", YES);objj_executeFile("CPFont.j", YES);_isNewlineCharacter = function(chr)
{
return chr === '\n' || chr === '\r';
}
@@ -67765,6 +67765,8 @@ class_addMethods(the_class, [new objj_method(sel_getUid("_lineFragmentFactory"),
}
if (removeRange.length)
self._removeInvalidLineFragmentsRange = CPMakeRangeCopy(removeRange);
else
self._removeInvalidLineFragmentsRange = nil;
if (!startIndex)
(self.isa.method_msgSend["setExtraLineFragmentRect:usedRect:textContainer:"] || _objj_forward)(self, "setExtraLineFragmentRect:usedRect:textContainer:", CGRectMake(0, 0), CGRectMake(0, 0), nil);
((___r1 = self._typesetter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:nextGlyphIndex:"] || _objj_forward)(___r1, "layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:nextGlyphIndex:", self, startIndex, -1, nil));
@@ -71718,7 +71720,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("setPlaceholderValue:wit
,["void","id","CPString"])]);
}
p;14;CPTypesetter.jt;21491;@STATIC;1.0;I;21;Foundation/CPObject.ji;18;CPParagraphStyle.ji;15;CPTextStorage.ji;8;CPFont.jt;21390;objj_executeFile("Foundation/CPObject.j", NO);objj_executeFile("CPParagraphStyle.j", YES);objj_executeFile("CPTextStorage.j", YES);objj_executeFile("CPFont.j", YES);CPTypesetterZeroAdvancementAction = 1 << 0;
p;14;CPTypesetter.jt;21709;@STATIC;1.0;I;21;Foundation/CPObject.ji;18;CPParagraphStyle.ji;15;CPTextStorage.ji;8;CPFont.jt;21608;objj_executeFile("Foundation/CPObject.j", NO);objj_executeFile("CPParagraphStyle.j", YES);objj_executeFile("CPTextStorage.j", YES);objj_executeFile("CPFont.j", YES);CPTypesetterZeroAdvancementAction = 1 << 0;
CPTypesetterWhitespaceAction = 1 << 1;
CPSTypesetterHorizontalTabAction = 1 << 2;
CPTypesetterLineBreakAction = 1 << 3;
@@ -71972,6 +71974,11 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
wrapWidth = rangeWidth;
wrapRange._height = self._lineHeight;
wrapRange._base = self._lineBase;
if (theString.charCodeAt(glyphIndex + 1) !== 32)
{
currentAnchor = rangeWidth;
measuringRange = CPMakeRange(glyphIndex + 1, 0);
}
break;
case 10:
case 13: