mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-06 20:55:32 +00:00
fixed: updates to storage were not propageted to the view
This commit is contained in:
1 parent
d4c77f9786
commit
8d703b1459
2 files changed
+1
-1
No files matched your search
@@ -438,6 +438,7 @@ _oncontextmenuhandler = function () { return false; };
|
||||
|
||||
[self invalidateLayoutForCharacterRange: invalidatedRange isSoft:NO actualCharacterRange:actualRange];
|
||||
[self invalidateDisplayForGlyphRange: actualRange];
|
||||
[self _validateLayoutAndGlyphs];
|
||||
}
|
||||
|
||||
- (CPRange)glyphRangeForBoundingRect:(CGRect)aRect inTextContainer:(CPTextContainer)container
|
||||
|
||||
@@ -1653,7 +1653,6 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
[_typingAttributes setObject:aColor forKey:CPForegroundColorAttributeName];
|
||||
|
||||
[_layoutManager textStorage:_textStorage edited:0 range:range changeInLength:0 invalidatedRange:CPMakeRangeCopy(range)];
|
||||
[_layoutManager _validateLayoutAndGlyphs];
|
||||
}
|
||||
|
||||
- (void)underline:(id)sender
|
||||
|
||||
Reference in new issue
Block a user