mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:10:37 +00:00
More CGFloat, NSUInteger and NSInteger changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36153 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a4abfc354f
commit
a7a48ea407
12 changed files with 196 additions and 186 deletions
|
@ -78,7 +78,8 @@ static Class concrete;
|
|||
/*
|
||||
* Getting and Setting Contents
|
||||
*/
|
||||
- (void) replaceCharactersInRange: (NSRange)aRange withRTF: (NSData *)rtfData
|
||||
- (void) replaceCharactersInRange: (NSRange)aRange
|
||||
withRTF: (NSData *)rtfData
|
||||
{
|
||||
NSAttributedString *attr;
|
||||
|
||||
|
@ -146,24 +147,24 @@ old text. */
|
|||
/*
|
||||
* old OpenStep methods doing the same
|
||||
*/
|
||||
- (void) replaceRange: (NSRange)aRange withRTFD: (NSData*)rtfdData
|
||||
- (void) replaceRange: (NSRange)aRange withRTFD: (NSData*)rtfdData
|
||||
{
|
||||
[self replaceCharactersInRange: aRange withRTFD: rtfdData];
|
||||
[self replaceCharactersInRange: aRange withRTFD: rtfdData];
|
||||
}
|
||||
|
||||
- (void) replaceRange: (NSRange)aRange withRTF: (NSData*)rtfData
|
||||
- (void) replaceRange: (NSRange)aRange withRTF: (NSData*)rtfData
|
||||
{
|
||||
[self replaceCharactersInRange: aRange withRTF: rtfData];
|
||||
[self replaceCharactersInRange: aRange withRTF: rtfData];
|
||||
}
|
||||
|
||||
- (void) replaceRange: (NSRange)aRange withString: (NSString*)aString
|
||||
- (void) replaceRange: (NSRange)aRange withString: (NSString*)aString
|
||||
{
|
||||
[self replaceCharactersInRange: aRange withString: aString];
|
||||
[self replaceCharactersInRange: aRange withString: aString];
|
||||
}
|
||||
|
||||
- (void) setText: (NSString*)aString range: (NSRange)aRange
|
||||
- (void) setText: (NSString*)aString range: (NSRange)aRange
|
||||
{
|
||||
[self replaceCharactersInRange: aRange withString: aString];
|
||||
[self replaceCharactersInRange: aRange withString: aString];
|
||||
}
|
||||
|
||||
- (void) setText: (NSString*)aString
|
||||
|
@ -652,7 +653,7 @@ old text. */
|
|||
@implementation NSText (GNUstepExtensions)
|
||||
|
||||
/* PRIMITIVE */
|
||||
- (unsigned) textLength
|
||||
- (NSUInteger) textLength
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue