mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-03 03:24:22 +00:00
Deploying to gh-pages from @ cappuccino/cappuccino@9d1504704f 🚀
This commit is contained in:
1 parent
20a3f2b947
commit
bc834d16b9
4 files changed
+246
-174
No files matched your search
@@ -71682,7 +71682,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;68342;@STATIC;1.0;i;8;CPText.ji;11;CGContext.ji;14;CPTypesetter.ji;8;CPFont.ji;17;CPCompatibility.jt;68241;objj_executeFile("CPText.j", YES);objj_executeFile("CGContext.j", YES);objj_executeFile("CPTypesetter.j", YES);objj_executeFile("CPFont.j", YES);objj_executeFile("CPCompatibility.j", YES);_isNewlineCharacter = function(chr)
|
||||
p;17;CPLayoutManager.jt;68575;@STATIC;1.0;i;8;CPText.ji;11;CGContext.ji;14;CPTypesetter.ji;8;CPFont.ji;17;CPCompatibility.jt;68474;objj_executeFile("CPText.j", YES);objj_executeFile("CGContext.j", YES);objj_executeFile("CPTypesetter.j", YES);objj_executeFile("CPFont.j", YES);objj_executeFile("CPCompatibility.j", YES);_isNewlineCharacter = function(chr)
|
||||
{
|
||||
return chr === '\n' || chr === '\r';
|
||||
}
|
||||
@@ -72622,7 +72622,7 @@ var _objectsInRange = function(aList, aRange)
|
||||
};
|
||||
|
||||
{var the_class = objj_allocateClassPair(CPObject, "_CPLineFragment"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_glyphsFrames", "CPArray"), new objj_ivar("_glyphsOffsets", "CPArray"), new objj_ivar("_isInvalid", "BOOL"), new objj_ivar("_isLast", "BOOL"), new objj_ivar("_fragmentRect", "CGRect"), new objj_ivar("_usedRect", "CGRect"), new objj_ivar("_location", "CGPoint"), new objj_ivar("_range", "CPRange"), new objj_ivar("_textContainer", "CPTextContainer"), new objj_ivar("_runs", "CPMutableArray")]);objj_registerClassPair(the_class);
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_glyphsFrames", "CPArray"), new objj_ivar("_glyphsOffsets", "CPArray"), new objj_ivar("_isInvalid", "BOOL"), new objj_ivar("_isLast", "BOOL"), new objj_ivar("_wordSpacing", "float"), new objj_ivar("_fragmentRect", "CGRect"), new objj_ivar("_usedRect", "CGRect"), new objj_ivar("_location", "CGPoint"), new objj_ivar("_range", "CPRange"), new objj_ivar("_textContainer", "CPTextContainer"), new objj_ivar("_runs", "CPMutableArray")]);objj_registerClassPair(the_class);
|
||||
class_addMethods(the_class, [new objj_method(sel_getUid("glyphFrames"), function $_CPLineFragment__glyphFrames(self, _cmd)
|
||||
{
|
||||
return self._glyphsFrames;
|
||||
@@ -72655,6 +72655,8 @@ class_addMethods(the_class, [new objj_method(sel_getUid("glyphFrames"), function
|
||||
style.whiteSpace = "pre";
|
||||
style.backgroundColor = "transparent";
|
||||
style.font = (aFont == null ? aFont : (aFont.isa.method_msgSend["cssString"] || _objj_forward)(aFont, "cssString"));
|
||||
if (self._wordSpacing)
|
||||
style.wordSpacing = self._wordSpacing + "px";
|
||||
if (aUnderline)
|
||||
{
|
||||
style.textDecoration = "underline";
|
||||
@@ -72696,6 +72698,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("glyphFrames"), function
|
||||
self._range = CPMakeRangeCopy(aRange);
|
||||
self._textContainer = aContainer;
|
||||
self._isInvalid = NO;
|
||||
self._wordSpacing = 0.0;
|
||||
self._runs = [];
|
||||
self._glyphsFrames = [];
|
||||
self._glyphsOffsets = [];
|
||||
@@ -72894,6 +72897,8 @@ class_addMethods(the_class, [new objj_method(sel_getUid("glyphFrames"), function
|
||||
oldFragmentRuns = self._runs;
|
||||
if (!oldFragmentRuns || !newFragmentRuns || oldFragmentRuns.length !== newFragmentRuns.length)
|
||||
return NO;
|
||||
if (newLineFragment._wordSpacing !== self._wordSpacing)
|
||||
return NO;
|
||||
var l = oldFragmentRuns.length;
|
||||
for (var i = 0; i < l; i++)
|
||||
{
|
||||
@@ -77965,7 +77970,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("setPlaceholderValue:wit
|
||||
|
||||
,["void","id","CPString"])]);
|
||||
}
|
||||
p;14;CPTypesetter.jt;30754;@STATIC;1.0;I;21;Foundation/CPObject.ji;18;CPParagraphStyle.ji;15;CPTextStorage.ji;8;CPFont.jt;30653;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;32394;@STATIC;1.0;I;21;Foundation/CPObject.ji;18;CPParagraphStyle.ji;15;CPTextStorage.ji;8;CPFont.jt;32293;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;
|
||||
@@ -78077,12 +78082,23 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPTextTab","double","CPWritingDirection"]), new objj_method(sel_getUid("_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:"), function $CPSimpleTypesetter___flushRange_lineOrigin_currentContainer_advancements_lineCount_sameLine_(self, _cmd, lineRange, lineOrigin, aContainer, advancements, lineCount, sameLine)
|
||||
,["CPTextTab","double","CPWritingDirection"]), new objj_method(sel_getUid("_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:"), function $CPSimpleTypesetter___flushRange_lineOrigin_currentContainer_advancements_lineCount_sameLine_wordWrapped_rightMargin_(self, _cmd, lineRange, lineOrigin, aContainer, advancements, lineCount, sameLine, wordWrapped, rightMargin)
|
||||
{
|
||||
var padding = (aContainer == null ? aContainer : (aContainer.isa.method_msgSend["lineFragmentPadding"] || _objj_forward)(aContainer, "lineFragmentPadding")),
|
||||
myX = 0,
|
||||
rect = CGRectMake(lineOrigin.x + padding, lineOrigin.y, self._lineWidth, self._lineHeight),
|
||||
usableWidth = aContainer._size.width - 2.0 * padding;
|
||||
rect = CGRectMake(lineOrigin.x + padding, lineOrigin.y, self._lineWidth, self._lineHeight);
|
||||
var theString = ((___r1 = self._textStorage), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["string"] || _objj_forward)(___r1, "string")),
|
||||
availableWidth = rightMargin - lineOrigin.x,
|
||||
visibleLength = lineRange.length,
|
||||
visibleWidth = self._lineWidth;
|
||||
while (visibleLength > 0)
|
||||
{
|
||||
var trailingCharCode = theString.charCodeAt(lineRange.location + visibleLength - 1);
|
||||
if (trailingCharCode !== 32 && trailingCharCode !== 10 && trailingCharCode !== 13)
|
||||
break;
|
||||
visibleLength--;
|
||||
visibleWidth -= advancements[visibleLength].width;
|
||||
}
|
||||
((___r1 = self._layoutManager), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["_appendNewLineFragmentInTextContainer:forGlyphRange:"] || _objj_forward)(___r1, "_appendNewLineFragmentInTextContainer:forGlyphRange:", self._currentTextContainer, lineRange));
|
||||
var fragment = ((___r1 = self._layoutManager._lineFragments), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["lastObject"] || _objj_forward)(___r1, "lastObject"));
|
||||
fragment._isLast = !sameLine;
|
||||
@@ -78093,10 +78109,30 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
myX = 0;
|
||||
break;
|
||||
case CPCenterTextAlignment:
|
||||
myX = (usableWidth - self._lineWidth) / 2;
|
||||
myX = (availableWidth - visibleWidth) / 2;
|
||||
break;
|
||||
case CPRightTextAlignment:
|
||||
myX = usableWidth - self._lineWidth;
|
||||
myX = availableWidth - visibleWidth;
|
||||
break;
|
||||
case CPJustifiedTextAlignment:
|
||||
if (wordWrapped && !sameLine)
|
||||
{
|
||||
var spaceIndexes = [];
|
||||
for (var i = 0; i < visibleLength; i++)
|
||||
{
|
||||
var charCode = theString.charCodeAt(lineRange.location + i);
|
||||
if (charCode === 32 || charCode === 160)
|
||||
spaceIndexes.push(i);
|
||||
}
|
||||
var spaceCount = spaceIndexes.length,
|
||||
extraWidth = spaceCount ? (availableWidth - visibleWidth) / spaceCount : 0.0;
|
||||
if (extraWidth > 0.0)
|
||||
{
|
||||
for (var i = 0; i < spaceCount; i++)
|
||||
advancements[spaceIndexes[i]].width += extraWidth;
|
||||
fragment._wordSpacing = extraWidth;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
((___r1 = self._layoutManager), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setLocation:forStartOfGlyphRange:"] || _objj_forward)(___r1, "setLocation:forStartOfGlyphRange:", CGPointMake(myX, self._lineBase), lineRange));
|
||||
@@ -78112,7 +78148,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["BOOL","CPRange","CGPoint","CPTextContainer","CPArray","unsigned","BOOL"]), new objj_method(sel_getUid("layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:nextGlyphIndex:"), function $CPSimpleTypesetter__layoutGlyphsInLayoutManager_startingAtGlyphIndex_maxNumberOfLineFragments_nextGlyphIndex_(self, _cmd, layoutManager, glyphIndex, maxNumLines, nextGlyph)
|
||||
,["BOOL","CPRange","CGPoint","CPTextContainer","CPArray","unsigned","BOOL","BOOL","float"]), new objj_method(sel_getUid("layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:nextGlyphIndex:"), function $CPSimpleTypesetter__layoutGlyphsInLayoutManager_startingAtGlyphIndex_maxNumberOfLineFragments_nextGlyphIndex_(self, _cmd, layoutManager, glyphIndex, maxNumLines, nextGlyph)
|
||||
{
|
||||
var textContainers = (layoutManager == null ? layoutManager : (layoutManager.isa.method_msgSend["textContainers"] || _objj_forward)(layoutManager, "textContainers")),
|
||||
textContainersCount = (textContainers == null ? textContainers : (textContainers.isa.method_msgSend["count"] || _objj_forward)(textContainers, "count"));
|
||||
@@ -78364,7 +78400,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
}
|
||||
if (isNewline || isTabStop || isAttachment)
|
||||
{
|
||||
if ((self.isa.method_msgSend["_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:"] || _objj_forward)(self, "_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:", lineRange, lineOrigin, self._currentTextContainer, advancements, numLines, !isNewline))
|
||||
if ((self.isa.method_msgSend["_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:"] || _objj_forward)(self, "_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:", lineRange, lineOrigin, self._currentTextContainer, advancements, numLines, !isNewline, isWordWrapped, rightMargin))
|
||||
return;
|
||||
if (isTabStop || isAttachment)
|
||||
lineOrigin.x += rangeWidth;
|
||||
@@ -78408,7 +78444,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
}
|
||||
}
|
||||
if (lineRange.length)
|
||||
(self.isa.method_msgSend["_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:"] || _objj_forward)(self, "_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:", lineRange, lineOrigin, self._currentTextContainer, advancements, numLines, NO);
|
||||
(self.isa.method_msgSend["_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:"] || _objj_forward)(self, "_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:", lineRange, lineOrigin, self._currentTextContainer, advancements, numLines, NO, NO, rightMargin);
|
||||
var rect = CGRectMake(MAX(1.0, lineFragmentPadding), lineOrigin.y - descent, containerSizeWidth, currentFontLineHeight);
|
||||
((___r1 = self._layoutManager), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setExtraLineFragmentRect:usedRect:textContainer:"] || _objj_forward)(___r1, "setExtraLineFragmentRect:usedRect:textContainer:", rect, rect, self._currentTextContainer));
|
||||
var fragment = ((___r1 = self._layoutManager._lineFragments), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["lastObject"] || _objj_forward)(___r1, "lastObject"));
|
||||
|
||||
@@ -71682,7 +71682,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;68342;@STATIC;1.0;i;8;CPText.ji;11;CGContext.ji;14;CPTypesetter.ji;8;CPFont.ji;17;CPCompatibility.jt;68241;objj_executeFile("CPText.j", YES);objj_executeFile("CGContext.j", YES);objj_executeFile("CPTypesetter.j", YES);objj_executeFile("CPFont.j", YES);objj_executeFile("CPCompatibility.j", YES);_isNewlineCharacter = function(chr)
|
||||
p;17;CPLayoutManager.jt;68575;@STATIC;1.0;i;8;CPText.ji;11;CGContext.ji;14;CPTypesetter.ji;8;CPFont.ji;17;CPCompatibility.jt;68474;objj_executeFile("CPText.j", YES);objj_executeFile("CGContext.j", YES);objj_executeFile("CPTypesetter.j", YES);objj_executeFile("CPFont.j", YES);objj_executeFile("CPCompatibility.j", YES);_isNewlineCharacter = function(chr)
|
||||
{
|
||||
return chr === '\n' || chr === '\r';
|
||||
}
|
||||
@@ -72622,7 +72622,7 @@ var _objectsInRange = function(aList, aRange)
|
||||
};
|
||||
|
||||
{var the_class = objj_allocateClassPair(CPObject, "_CPLineFragment"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_glyphsFrames", "CPArray"), new objj_ivar("_glyphsOffsets", "CPArray"), new objj_ivar("_isInvalid", "BOOL"), new objj_ivar("_isLast", "BOOL"), new objj_ivar("_fragmentRect", "CGRect"), new objj_ivar("_usedRect", "CGRect"), new objj_ivar("_location", "CGPoint"), new objj_ivar("_range", "CPRange"), new objj_ivar("_textContainer", "CPTextContainer"), new objj_ivar("_runs", "CPMutableArray")]);objj_registerClassPair(the_class);
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_glyphsFrames", "CPArray"), new objj_ivar("_glyphsOffsets", "CPArray"), new objj_ivar("_isInvalid", "BOOL"), new objj_ivar("_isLast", "BOOL"), new objj_ivar("_wordSpacing", "float"), new objj_ivar("_fragmentRect", "CGRect"), new objj_ivar("_usedRect", "CGRect"), new objj_ivar("_location", "CGPoint"), new objj_ivar("_range", "CPRange"), new objj_ivar("_textContainer", "CPTextContainer"), new objj_ivar("_runs", "CPMutableArray")]);objj_registerClassPair(the_class);
|
||||
class_addMethods(the_class, [new objj_method(sel_getUid("glyphFrames"), function $_CPLineFragment__glyphFrames(self, _cmd)
|
||||
{
|
||||
return self._glyphsFrames;
|
||||
@@ -72655,6 +72655,8 @@ class_addMethods(the_class, [new objj_method(sel_getUid("glyphFrames"), function
|
||||
style.whiteSpace = "pre";
|
||||
style.backgroundColor = "transparent";
|
||||
style.font = (aFont == null ? aFont : (aFont.isa.method_msgSend["cssString"] || _objj_forward)(aFont, "cssString"));
|
||||
if (self._wordSpacing)
|
||||
style.wordSpacing = self._wordSpacing + "px";
|
||||
if (aUnderline)
|
||||
{
|
||||
style.textDecoration = "underline";
|
||||
@@ -72696,6 +72698,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("glyphFrames"), function
|
||||
self._range = CPMakeRangeCopy(aRange);
|
||||
self._textContainer = aContainer;
|
||||
self._isInvalid = NO;
|
||||
self._wordSpacing = 0.0;
|
||||
self._runs = [];
|
||||
self._glyphsFrames = [];
|
||||
self._glyphsOffsets = [];
|
||||
@@ -72894,6 +72897,8 @@ class_addMethods(the_class, [new objj_method(sel_getUid("glyphFrames"), function
|
||||
oldFragmentRuns = self._runs;
|
||||
if (!oldFragmentRuns || !newFragmentRuns || oldFragmentRuns.length !== newFragmentRuns.length)
|
||||
return NO;
|
||||
if (newLineFragment._wordSpacing !== self._wordSpacing)
|
||||
return NO;
|
||||
var l = oldFragmentRuns.length;
|
||||
for (var i = 0; i < l; i++)
|
||||
{
|
||||
@@ -77965,7 +77970,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("setPlaceholderValue:wit
|
||||
|
||||
,["void","id","CPString"])]);
|
||||
}
|
||||
p;14;CPTypesetter.jt;30754;@STATIC;1.0;I;21;Foundation/CPObject.ji;18;CPParagraphStyle.ji;15;CPTextStorage.ji;8;CPFont.jt;30653;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;32394;@STATIC;1.0;I;21;Foundation/CPObject.ji;18;CPParagraphStyle.ji;15;CPTextStorage.ji;8;CPFont.jt;32293;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;
|
||||
@@ -78077,12 +78082,23 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPTextTab","double","CPWritingDirection"]), new objj_method(sel_getUid("_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:"), function $CPSimpleTypesetter___flushRange_lineOrigin_currentContainer_advancements_lineCount_sameLine_(self, _cmd, lineRange, lineOrigin, aContainer, advancements, lineCount, sameLine)
|
||||
,["CPTextTab","double","CPWritingDirection"]), new objj_method(sel_getUid("_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:"), function $CPSimpleTypesetter___flushRange_lineOrigin_currentContainer_advancements_lineCount_sameLine_wordWrapped_rightMargin_(self, _cmd, lineRange, lineOrigin, aContainer, advancements, lineCount, sameLine, wordWrapped, rightMargin)
|
||||
{
|
||||
var padding = (aContainer == null ? aContainer : (aContainer.isa.method_msgSend["lineFragmentPadding"] || _objj_forward)(aContainer, "lineFragmentPadding")),
|
||||
myX = 0,
|
||||
rect = CGRectMake(lineOrigin.x + padding, lineOrigin.y, self._lineWidth, self._lineHeight),
|
||||
usableWidth = aContainer._size.width - 2.0 * padding;
|
||||
rect = CGRectMake(lineOrigin.x + padding, lineOrigin.y, self._lineWidth, self._lineHeight);
|
||||
var theString = ((___r1 = self._textStorage), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["string"] || _objj_forward)(___r1, "string")),
|
||||
availableWidth = rightMargin - lineOrigin.x,
|
||||
visibleLength = lineRange.length,
|
||||
visibleWidth = self._lineWidth;
|
||||
while (visibleLength > 0)
|
||||
{
|
||||
var trailingCharCode = theString.charCodeAt(lineRange.location + visibleLength - 1);
|
||||
if (trailingCharCode !== 32 && trailingCharCode !== 10 && trailingCharCode !== 13)
|
||||
break;
|
||||
visibleLength--;
|
||||
visibleWidth -= advancements[visibleLength].width;
|
||||
}
|
||||
((___r1 = self._layoutManager), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["_appendNewLineFragmentInTextContainer:forGlyphRange:"] || _objj_forward)(___r1, "_appendNewLineFragmentInTextContainer:forGlyphRange:", self._currentTextContainer, lineRange));
|
||||
var fragment = ((___r1 = self._layoutManager._lineFragments), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["lastObject"] || _objj_forward)(___r1, "lastObject"));
|
||||
fragment._isLast = !sameLine;
|
||||
@@ -78093,10 +78109,30 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
myX = 0;
|
||||
break;
|
||||
case CPCenterTextAlignment:
|
||||
myX = (usableWidth - self._lineWidth) / 2;
|
||||
myX = (availableWidth - visibleWidth) / 2;
|
||||
break;
|
||||
case CPRightTextAlignment:
|
||||
myX = usableWidth - self._lineWidth;
|
||||
myX = availableWidth - visibleWidth;
|
||||
break;
|
||||
case CPJustifiedTextAlignment:
|
||||
if (wordWrapped && !sameLine)
|
||||
{
|
||||
var spaceIndexes = [];
|
||||
for (var i = 0; i < visibleLength; i++)
|
||||
{
|
||||
var charCode = theString.charCodeAt(lineRange.location + i);
|
||||
if (charCode === 32 || charCode === 160)
|
||||
spaceIndexes.push(i);
|
||||
}
|
||||
var spaceCount = spaceIndexes.length,
|
||||
extraWidth = spaceCount ? (availableWidth - visibleWidth) / spaceCount : 0.0;
|
||||
if (extraWidth > 0.0)
|
||||
{
|
||||
for (var i = 0; i < spaceCount; i++)
|
||||
advancements[spaceIndexes[i]].width += extraWidth;
|
||||
fragment._wordSpacing = extraWidth;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
((___r1 = self._layoutManager), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setLocation:forStartOfGlyphRange:"] || _objj_forward)(___r1, "setLocation:forStartOfGlyphRange:", CGPointMake(myX, self._lineBase), lineRange));
|
||||
@@ -78112,7 +78148,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["BOOL","CPRange","CGPoint","CPTextContainer","CPArray","unsigned","BOOL"]), new objj_method(sel_getUid("layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:nextGlyphIndex:"), function $CPSimpleTypesetter__layoutGlyphsInLayoutManager_startingAtGlyphIndex_maxNumberOfLineFragments_nextGlyphIndex_(self, _cmd, layoutManager, glyphIndex, maxNumLines, nextGlyph)
|
||||
,["BOOL","CPRange","CGPoint","CPTextContainer","CPArray","unsigned","BOOL","BOOL","float"]), new objj_method(sel_getUid("layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:nextGlyphIndex:"), function $CPSimpleTypesetter__layoutGlyphsInLayoutManager_startingAtGlyphIndex_maxNumberOfLineFragments_nextGlyphIndex_(self, _cmd, layoutManager, glyphIndex, maxNumLines, nextGlyph)
|
||||
{
|
||||
var textContainers = (layoutManager == null ? layoutManager : (layoutManager.isa.method_msgSend["textContainers"] || _objj_forward)(layoutManager, "textContainers")),
|
||||
textContainersCount = (textContainers == null ? textContainers : (textContainers.isa.method_msgSend["count"] || _objj_forward)(textContainers, "count"));
|
||||
@@ -78364,7 +78400,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
}
|
||||
if (isNewline || isTabStop || isAttachment)
|
||||
{
|
||||
if ((self.isa.method_msgSend["_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:"] || _objj_forward)(self, "_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:", lineRange, lineOrigin, self._currentTextContainer, advancements, numLines, !isNewline))
|
||||
if ((self.isa.method_msgSend["_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:"] || _objj_forward)(self, "_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:", lineRange, lineOrigin, self._currentTextContainer, advancements, numLines, !isNewline, isWordWrapped, rightMargin))
|
||||
return;
|
||||
if (isTabStop || isAttachment)
|
||||
lineOrigin.x += rangeWidth;
|
||||
@@ -78408,7 +78444,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("layoutManager"), functi
|
||||
}
|
||||
}
|
||||
if (lineRange.length)
|
||||
(self.isa.method_msgSend["_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:"] || _objj_forward)(self, "_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:", lineRange, lineOrigin, self._currentTextContainer, advancements, numLines, NO);
|
||||
(self.isa.method_msgSend["_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:"] || _objj_forward)(self, "_flushRange:lineOrigin:currentContainer:advancements:lineCount:sameLine:wordWrapped:rightMargin:", lineRange, lineOrigin, self._currentTextContainer, advancements, numLines, NO, NO, rightMargin);
|
||||
var rect = CGRectMake(MAX(1.0, lineFragmentPadding), lineOrigin.y - descent, containerSizeWidth, currentFontLineHeight);
|
||||
((___r1 = self._layoutManager), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setExtraLineFragmentRect:usedRect:textContainer:"] || _objj_forward)(___r1, "setExtraLineFragmentRect:usedRect:textContainer:", rect, rect, self._currentTextContainer));
|
||||
var fragment = ((___r1 = self._layoutManager._lineFragments), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["lastObject"] || _objj_forward)(___r1, "lastObject"));
|
||||
|
||||
@@ -29,7 +29,6 @@ TextEditor is a document-based test application and a tutorial. When the app use
|
||||
How the text system works, for the entries below: `CPTextView` does not use CSS text layout. `CPSimpleTypesetter` measures text with the canvas `measureText` (`sizeWithFont:inWidth:` in `CPStringDrawing.j`), measuring growing substrings so that each character's advancement includes the browser's kerning. It then breaks lines, places tabs, and applies indents and alignment itself (`CPTypesetter.j`). `_CPLineFragment` (`CPLayoutManager.j`) draws each run of identical attributes as one absolutely positioned `<span>`, at the computed position, with `white-space: pre` and the run's font, colour and underline in CSS. Inside a span the browser shapes the glyphs, including its own kerning and ligatures.
|
||||
|
||||
- **Format > Font > Copy Style and Paste Style raise an exception.** They send `copyFont:` and `pasteFont:`, which `CPText` declares as abstract methods that raise (`CPText.j:210` and `:261`). `CPTextView` does not implement them, so the menu items are enabled and choosing one raises. `CPTextView` needs Cocoa's implementations: copy the font and character attributes at the selection to the font pasteboard (`CPFontPboard`), and apply them to the selection.
|
||||
- **Format > Text > Justify crashes the application.** `alignJustified:` sets the paragraph style's alignment to `CPJustifiedTextAlignment`, but the typesetter's alignment handling has cases only for left, centred and right text (`_flushRange:` in `CPTypesetter.j`). The exception text from the browser console will show where the crash occurs. Justified layout needs a full implementation: spreading each line's spare width across its spaces, except on the last line of a paragraph.
|
||||
- **Kerning and ligature settings are not implemented.** Format > Font > Kern sends `useStandardKerning:`, `turnOffKerning:`, `tightenKerning:` and `loosenKerning:`, and Format > Font > Ligatures sends `useStandardLigatures:`, `turnOffLigatures:` and `useAllLigatures:`. `CPTextView` implements none of them, so the items are disabled. `CPText.j` defines `CPKernAttributeName` and `CPLigatureAttributeName`, but only the RTF producer reads them. A complete implementation needs: the seven actions, changing the attributes over the selection or the typing attributes with undo, as the baseline actions do; the typesetter adding a run's `CPKernAttributeName` value to each character's advancement, and measuring with the same ligature setting it draws with; and `_CPLineFragment` setting CSS `letter-spacing` and `font-variant-ligatures` on each run's span to match.
|
||||
- **The font panel needs polish.** Found during the Format menu review on 24 October: the panel works with the text view, but its appearance and behaviour need refinement. The specific problems are not yet recorded; list them here, compared with the native font panel, when the panel is reviewed. `CPFontPanel` is in `AppKit/CPTextView/CPFontPanel.j`.
|
||||
|
||||
@@ -52,7 +51,7 @@ How the text system works, for the entries below: `CPTextView` does not use CSS
|
||||
|
||||
## Opportunities for improvement
|
||||
|
||||
- **Line breaking is greedy.** `CPSimpleTypesetter` fills each line as far as it fits, as Cocoa does. Typesetting quality, especially in justified text, needs paragraph-wide line breaking in the manner of Knuth-Plass, as Typst also uses, with language-aware hyphenation. Cappuccino measures and lays out text itself, so this belongs in the typesetter, as its only behaviour, with no setting for users or developers. It follows justification.
|
||||
- **Justification is nominally functional, but its quality is limited.** `CPSimpleTypesetter` breaks lines greedily: it fills each line as far as it fits, as Cocoa does, and then spreads the spare width of each wrapped line evenly over that line's spaces. This naive algorithm does not and cannot produce the quality that modern typesetting expects. It decides each line alone, so word spacing varies widely from line to line, and loose lines are common. Quality needs paragraph-wide line breaking in the manner of Knuth-Plass, as Typst also uses, with language-aware hyphenation. Cappuccino measures and lays out text itself, so this belongs in the typesetter, as its only behaviour, with no setting for users or developers.
|
||||
|
||||
## Planned additions to the app
|
||||
|
||||
@@ -83,4 +82,5 @@ How the text system works, for the entries below: `CPTextView` does not use CSS
|
||||
- Tab characters: the Tab key inserts a tab in the text view, and left, centre, right and decimal tab stops align their columns.
|
||||
- Format > Text > Copy Ruler and Paste Ruler apply one paragraph's indents and tab stops to others.
|
||||
- Format > Font > Baseline: superscript, subscript, raised and lowered baselines lay out correctly, and Use Default restores the text, for an exact or a wider selection.
|
||||
- Format > Text > Justify: wrapped lines fill the width between the indents, with the spare width spread over the spaces; the last line of a paragraph stays left aligned. Centred text is centred between the indents, and spaces at the end of a wrapped line hang outside the alignment.
|
||||
- Builds with both the legacy toolchain and capp-build.
|
||||
+150
-150
@@ -1,150 +1,150 @@
|
||||
1792856857104|ArrayControllerInitialSelectionTest|
|
||||
1792856857122|ArrayControllerRemovingFirstTest|
|
||||
1792856857140|ArrayControllerTest|
|
||||
1792856857159|AttachedSheet2Test|
|
||||
1792856857177|AttachedSheetTest|
|
||||
1792856857196|BindingContentArrayTest|
|
||||
1792856857214|CGCanvasContextTest|
|
||||
1792856857233|CGPathTest|
|
||||
1792856857251|CPAlertTest|
|
||||
1792856857269|CPAnimatablePropertyContainerTest|
|
||||
1792856857289|CPAnimationContextTest|
|
||||
1792856857308|CPAnimationTest|
|
||||
1792856857327|CPBinderEchoBug|
|
||||
1792856857346|CPBoxCibTest|
|
||||
1792856857365|CPBoxTest|
|
||||
1792856857384|CPBrowserTest|
|
||||
1792856857405|CPButtonBarTest|
|
||||
1792856857424|CPButtonKeyEquivalentDefaultTest|
|
||||
1792856857444|CPButtonTest|
|
||||
1792856857463|CPByteCountFormatterTest|
|
||||
1792856857481|CPCollectionViewNibTest|
|
||||
1792856857500|CPColorCPImageDescriptionTest|
|
||||
1792856857519|CPColorWellBindingsTest|
|
||||
1792856857537|CPComboBoxTest|
|
||||
1792856857555|CPControlPerformClickExceptionTest|
|
||||
1792856857574|CPControlSizeTest|
|
||||
1792856857592|CPCursorTest|
|
||||
1792856857611|CPDateFormatterTest|
|
||||
1792856857629|CPDatePickerTest|
|
||||
1792856857648|CPDictionaryControllerTest|
|
||||
1792856857666|CPDocumentControllerTest|
|
||||
1792856857685|CPFormatterTest|
|
||||
1792856857704|CPGraphicsTest|
|
||||
1792856857723|CPImageAndTextViewImageScalingTest|
|
||||
1792856857742|CPImageViewAlignmentScaling|
|
||||
1792856857761|CPImageViewTest|
|
||||
1792856857780|CPImageViewbindingsTest|
|
||||
1792856857798|CPLanguageModelChatbotTest|
|
||||
1792856857816|CPLevelIndicator|
|
||||
1792856857834|CPLevelIndicatorTest|
|
||||
1792856857852|CPLocalizationTest|
|
||||
1792856857870|CPLogTest|
|
||||
1792856857888|CPMarkdownParserTest|
|
||||
1792856857906|CPMenuCALayerTest|
|
||||
1792856857924|CPMenuEnabledBindingsTest|
|
||||
1792856857942|CPMenuKeyEquivalentsTest|
|
||||
1792856857960|CPMenuRemoveAllTest|
|
||||
1792856857979|CPMenuSubmenuPlacementConstraints|
|
||||
1792856857997|CPMenuTest|
|
||||
1792856858155|CPOutlineViewCibTest|
|
||||
1792856858337|CPOutlineViewTest|
|
||||
1792856858519|CPOutlineViewViewBasedCibTest|
|
||||
1792856858704|CPPanelTest|
|
||||
1792856858886|CPPlatformWindow|
|
||||
1792856858106|CPPlattformWindowMinSize|
|
||||
1792856858124|CPPopUpButtonBindingsTest|
|
||||
1792856858141|CPPopUpButtonTest|
|
||||
1792856858159|CPPopoverTest|
|
||||
1792856858177|CPPredicateEditorCibTest|
|
||||
1792856858194|CPProgressIndicatorTest|
|
||||
1792856858213|CPPropertyListSerializationTest|
|
||||
1792856858231|CPRadioBindingsTest|
|
||||
1792856858250|CPRuleEditorCibTest|
|
||||
1792856858268|CPRuleEditorTest|
|
||||
1792856858286|CPScrollView2Test|
|
||||
1792856858305|CPScrollViewTest|
|
||||
1792856858324|CPSearchFieldPredicateBinding|
|
||||
1792856858343|CPSearchFieldTest|
|
||||
1792856858361|CPSegmentedControlBindingsTest|
|
||||
1792856858378|CPSegmentedControlTest|
|
||||
1792856858396|CPSoundTest|
|
||||
1792856858414|CPSplitViewDividerTest|
|
||||
1792856858432|CPSplitViewTest|
|
||||
1792856858449|CPStackViewTest|
|
||||
1792856858467|CPStepperBindingsTest|
|
||||
1792856858485|CPStepperNibTest|
|
||||
1792856858502|CPTabView2Test|
|
||||
1792856858520|CPTabViewBindingsTest|
|
||||
1792856858537|CPTabViewNibTest|
|
||||
1792856858555|CPTableViewGroupRowsTest|
|
||||
1792856858573|CPTextFieldEditingStyleTest|
|
||||
1792856858592|CPTextFieldHeightTest|
|
||||
1792856858609|CPTextFieldMovementsTest|
|
||||
1792856858627|CPTextFieldMultiLineTest|
|
||||
1792856858645|CPTextFieldTest|
|
||||
1792856858662|CPTextViewCibTest|
|
||||
1792856858680|CPTextViewDelegateAndNotificationsTest|
|
||||
1792856858698|CPTimeZoneTest|
|
||||
1792856858716|CPTokenFieldTest|
|
||||
1792856858734|CPToolTipTest|
|
||||
1792856858753|CPToolbarTest|
|
||||
1792856858771|CPTreeControllerTest|
|
||||
1792856858790|CPURLConnectionAsyncTest|
|
||||
1792856858809|CPURLConnectionSynchronousTest|
|
||||
1792856858827|CPUserDefaultsControllerTest|
|
||||
1792856858845|CPUserDefaultsTest|
|
||||
1792856858862|CPUserNotificationTest|
|
||||
1792856858880|CPViewControllerTest|
|
||||
1792856858897|CPVisualEffectViewTest|
|
||||
1792856858915|CPWebViewTest|
|
||||
1792856858933|CPWebViewTest2|
|
||||
1792856858952|CPWindowLiveResizeTest|
|
||||
1792856858972|CPWindowMovableTest|
|
||||
1792856858990|CPWindowResizeStyleTest|
|
||||
1792856859936|ChildWindowsTest|
|
||||
1792856859281|CompilationTests|
|
||||
1792856859471|ContinuouslyUpdatesValueBinding|
|
||||
1792856859660|CopyAndPasteTest|
|
||||
1792856859844|CrossOriginTest|
|
||||
1792856859103|FF4096Test|
|
||||
1792856859121|FontEnhancementTest|
|
||||
1792856859139|FontMetricsExplorerTest|
|
||||
1792856859157|KeyEquivalentsTest|
|
||||
1792856859175|KeyViewLoopTest|
|
||||
1792856859193|KeyWindowInTheBackgroundActivation|
|
||||
1792856859211|LayoutTest|
|
||||
1792856859228|LoadDynamicFrameworksTest|
|
||||
1792856859246|LoadTimeTest|
|
||||
1792856859264|LongBindingsTest|
|
||||
1792856859281|MobileTest|
|
||||
1792856859299|MultipleValueBindingsTest|
|
||||
1792856859317|NSBoxTest|
|
||||
1792856859336|NSBrowserTest|
|
||||
1792856859355|NewTextFieldBezelTest|
|
||||
1792856859373|Nib2CibAlignmentTest|
|
||||
1792856859392|Nib2CibBaselineAlignementTest|
|
||||
1792856859410|Nib2CibSubviewsOrderTest|
|
||||
1792856859427|NibAppRemixedTest|
|
||||
1792856859445|PatternFillTest|
|
||||
1792856859463|PlatformWindowsTest|
|
||||
1792856859481|PopUpButtonEscTest|
|
||||
1792856859498|PredicateWithFormatTest|
|
||||
1792856859516|ResignFirstResponderWithCPControlTextDidEndEditingTest|
|
||||
1792856859533|Scaling2Test|
|
||||
1792856859552|ScalingTest|
|
||||
1792856859570|ScrollviewThemingTest|
|
||||
1792856859588|SimpleBindings2Test|
|
||||
1792856859607|SizeToFitTest|
|
||||
1792856859624|SmartFoldersDemo|
|
||||
1792856859642|SmartFoldersTest|
|
||||
1792856859659|TableTest|
|
||||
1792856859677|TextEditor|
|
||||
1792856859694|ThemeBrowserTest|
|
||||
1792856859712|ThemeKitchenSinkTest|
|
||||
1792856859729|TrackingAreaTest|
|
||||
1792856859747|UndoRedoWithMenuUpdateTest|
|
||||
1792856859765|UserlandNSTest|
|
||||
1792856859784|WindowSheetOrderTest|
|
||||
1792856859802|layoutEphemeralSubviewTest|
|
||||
1792856859820|performKeyEquivalentTest|
|
||||
1792858831573|ArrayControllerInitialSelectionTest|
|
||||
1792858831592|ArrayControllerRemovingFirstTest|
|
||||
1792858831611|ArrayControllerTest|
|
||||
1792858831629|AttachedSheet2Test|
|
||||
1792858831648|AttachedSheetTest|
|
||||
1792858831666|BindingContentArrayTest|
|
||||
1792858831685|CGCanvasContextTest|
|
||||
1792858831703|CGPathTest|
|
||||
1792858831722|CPAlertTest|
|
||||
1792858831741|CPAnimatablePropertyContainerTest|
|
||||
1792858831760|CPAnimationContextTest|
|
||||
1792858831778|CPAnimationTest|
|
||||
1792858831797|CPBinderEchoBug|
|
||||
1792858831816|CPBoxCibTest|
|
||||
1792858831835|CPBoxTest|
|
||||
1792858831854|CPBrowserTest|
|
||||
1792858831872|CPButtonBarTest|
|
||||
1792858831891|CPButtonKeyEquivalentDefaultTest|
|
||||
1792858831910|CPButtonTest|
|
||||
1792858831928|CPByteCountFormatterTest|
|
||||
1792858831947|CPCollectionViewNibTest|
|
||||
1792858831966|CPColorCPImageDescriptionTest|
|
||||
1792858831984|CPColorWellBindingsTest|
|
||||
1792858832340|CPComboBoxTest|
|
||||
1792858832219|CPControlPerformClickExceptionTest|
|
||||
1792858832407|CPControlSizeTest|
|
||||
1792858832598|CPCursorTest|
|
||||
1792858832800|CPDateFormatterTest|
|
||||
1792858832995|CPDatePickerTest|
|
||||
1792858832118|CPDictionaryControllerTest|
|
||||
1792858832137|CPDocumentControllerTest|
|
||||
1792858832155|CPFormatterTest|
|
||||
1792858832174|CPGraphicsTest|
|
||||
1792858832193|CPImageAndTextViewImageScalingTest|
|
||||
1792858832211|CPImageViewAlignmentScaling|
|
||||
1792858832230|CPImageViewTest|
|
||||
1792858832248|CPImageViewbindingsTest|
|
||||
1792858832267|CPLanguageModelChatbotTest|
|
||||
1792858832286|CPLevelIndicator|
|
||||
1792858832305|CPLevelIndicatorTest|
|
||||
1792858832323|CPLocalizationTest|
|
||||
1792858832342|CPLogTest|
|
||||
1792858832360|CPMarkdownParserTest|
|
||||
1792858832379|CPMenuCALayerTest|
|
||||
1792858832398|CPMenuEnabledBindingsTest|
|
||||
1792858832417|CPMenuKeyEquivalentsTest|
|
||||
1792858832435|CPMenuRemoveAllTest|
|
||||
1792858832454|CPMenuSubmenuPlacementConstraints|
|
||||
1792858832474|CPMenuTest|
|
||||
1792858832493|CPOutlineViewCibTest|
|
||||
1792858832512|CPOutlineViewTest|
|
||||
1792858832531|CPOutlineViewViewBasedCibTest|
|
||||
1792858832550|CPPanelTest|
|
||||
1792858832569|CPPlatformWindow|
|
||||
1792858832589|CPPlattformWindowMinSize|
|
||||
1792858832608|CPPopUpButtonBindingsTest|
|
||||
1792858832627|CPPopUpButtonTest|
|
||||
1792858832646|CPPopoverTest|
|
||||
1792858832665|CPPredicateEditorCibTest|
|
||||
1792858832684|CPProgressIndicatorTest|
|
||||
1792858832703|CPPropertyListSerializationTest|
|
||||
1792858832723|CPRadioBindingsTest|
|
||||
1792858832743|CPRuleEditorCibTest|
|
||||
1792858832762|CPRuleEditorTest|
|
||||
1792858832780|CPScrollView2Test|
|
||||
1792858832799|CPScrollViewTest|
|
||||
1792858832818|CPSearchFieldPredicateBinding|
|
||||
1792858832836|CPSearchFieldTest|
|
||||
1792858832854|CPSegmentedControlBindingsTest|
|
||||
1792858832873|CPSegmentedControlTest|
|
||||
1792858832892|CPSoundTest|
|
||||
1792858832911|CPSplitViewDividerTest|
|
||||
1792858832930|CPSplitViewTest|
|
||||
1792858832949|CPStackViewTest|
|
||||
1792858832967|CPStepperBindingsTest|
|
||||
1792858832986|CPStepperNibTest|
|
||||
1792858833472|CPTabView2Test|
|
||||
1792858833230|CPTabViewBindingsTest|
|
||||
1792858833413|CPTabViewNibTest|
|
||||
1792858833598|CPTableViewGroupRowsTest|
|
||||
1792858833783|CPTextFieldEditingStyleTest|
|
||||
1792858833966|CPTextFieldHeightTest|
|
||||
1792858833115|CPTextFieldMovementsTest|
|
||||
1792858833133|CPTextFieldMultiLineTest|
|
||||
1792858833151|CPTextFieldTest|
|
||||
1792858833170|CPTextViewCibTest|
|
||||
1792858833188|CPTextViewDelegateAndNotificationsTest|
|
||||
1792858833206|CPTimeZoneTest|
|
||||
1792858833225|CPTokenFieldTest|
|
||||
1792858833244|CPToolTipTest|
|
||||
1792858833263|CPToolbarTest|
|
||||
1792858833281|CPTreeControllerTest|
|
||||
1792858833300|CPURLConnectionAsyncTest|
|
||||
1792858833318|CPURLConnectionSynchronousTest|
|
||||
1792858833338|CPUserDefaultsControllerTest|
|
||||
1792858833357|CPUserDefaultsTest|
|
||||
1792858833375|CPUserNotificationTest|
|
||||
1792858833394|CPViewControllerTest|
|
||||
1792858833412|CPVisualEffectViewTest|
|
||||
1792858833431|CPWebViewTest|
|
||||
1792858833449|CPWebViewTest2|
|
||||
1792858833468|CPWindowLiveResizeTest|
|
||||
1792858833486|CPWindowMovableTest|
|
||||
1792858833505|CPWindowResizeStyleTest|
|
||||
1792858833523|ChildWindowsTest|
|
||||
1792858833542|CompilationTests|
|
||||
1792858833560|ContinuouslyUpdatesValueBinding|
|
||||
1792858833579|CopyAndPasteTest|
|
||||
1792858833597|CrossOriginTest|
|
||||
1792858833616|FF4096Test|
|
||||
1792858833634|FontEnhancementTest|
|
||||
1792858833653|FontMetricsExplorerTest|
|
||||
1792858833672|KeyEquivalentsTest|
|
||||
1792858833690|KeyViewLoopTest|
|
||||
1792858833709|KeyWindowInTheBackgroundActivation|
|
||||
1792858833727|LayoutTest|
|
||||
1792858833746|LoadDynamicFrameworksTest|
|
||||
1792858833764|LoadTimeTest|
|
||||
1792858833783|LongBindingsTest|
|
||||
1792858833801|MobileTest|
|
||||
1792858833820|MultipleValueBindingsTest|
|
||||
1792858833839|NSBoxTest|
|
||||
1792858833857|NSBrowserTest|
|
||||
1792858833875|NewTextFieldBezelTest|
|
||||
1792858833894|Nib2CibAlignmentTest|
|
||||
1792858833913|Nib2CibBaselineAlignementTest|
|
||||
1792858833933|Nib2CibSubviewsOrderTest|
|
||||
1792858833952|NibAppRemixedTest|
|
||||
1792858833970|PatternFillTest|
|
||||
1792858833989|PlatformWindowsTest|
|
||||
1792858834765|PopUpButtonEscTest|
|
||||
1792858834262|PredicateWithFormatTest|
|
||||
1792858834445|ResignFirstResponderWithCPControlTextDidEndEditingTest|
|
||||
1792858834635|Scaling2Test|
|
||||
1792858834822|ScalingTest|
|
||||
1792858834100|ScrollviewThemingTest|
|
||||
1792858834119|SimpleBindings2Test|
|
||||
1792858834137|SizeToFitTest|
|
||||
1792858834155|SmartFoldersDemo|
|
||||
1792858834174|SmartFoldersTest|
|
||||
1792858834192|TableTest|
|
||||
1792858834211|TextEditor|
|
||||
1792858834229|ThemeBrowserTest|
|
||||
1792858834248|ThemeKitchenSinkTest|
|
||||
1792858834267|TrackingAreaTest|
|
||||
1792858834287|UndoRedoWithMenuUpdateTest|
|
||||
1792858834307|UserlandNSTest|
|
||||
1792858834325|WindowSheetOrderTest|
|
||||
1792858834344|layoutEphemeralSubviewTest|
|
||||
1792858834363|performKeyEquivalentTest|
|
||||
Reference in new issue
Block a user