mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
typesetter fix
This commit is contained in:
1 parent
7abd9a3db9
commit
da0d3133df
2 files changed
+2
-1
No files matched your search
@@ -142,7 +142,7 @@ CPLineMovesUp = 4;
|
||||
- (void) textViewFrameChanged:(CPNotification)aNotification
|
||||
{
|
||||
var newSize=CPMakeSize([_textView frame].size.width, _size.height);
|
||||
[self setContainerSize:newSize];
|
||||
[self setContainerSize:newSize];
|
||||
}
|
||||
|
||||
- (void)setTextView:(CPTextView)aTextView
|
||||
|
||||
@@ -377,6 +377,7 @@ var _sharedSimpleTypesetter = nil;
|
||||
_lineBase = 0;
|
||||
_previousFont = nil;
|
||||
lineRange = CPMakeRange(glyphIndex + 1, 0);
|
||||
measuringRange = CPMakeRange(glyphIndex + 1, 0);
|
||||
wrapRange = CPMakeRange(0, 0);
|
||||
wrapWidth = 0;
|
||||
isWordWrapped = NO;
|
||||
|
||||
Reference in new issue
Block a user