mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:21:04 +00:00
*** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6703 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3a2b5d31e2
commit
1ffed54308
2 changed files with 41 additions and 7 deletions
20
ChangeLog
20
ChangeLog
|
@ -1,3 +1,23 @@
|
|||
2000-06-16 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/Parser/attributedStringConsumer.m
|
||||
* Source/Parser/rtfConsumer.h
|
||||
* Source/Parser/rtfConsumerFunctions.h
|
||||
* Source/Parser/rtfScanner.h
|
||||
* Source/Parser/rtfScanner.y
|
||||
* Source/Parser/rtfGrammer.y
|
||||
Extended support for RTF. It is possible to read in the OpenStep
|
||||
specification now!
|
||||
* Source/NSAttributedString.m
|
||||
Use new RTF interface in initWithRTF:documentAttributes:
|
||||
(Will change once more if we use a separat bundle)
|
||||
Implemented attributedStringWithAttachment:
|
||||
* Source/NSTextStorage.m
|
||||
Corrected problem in processEditing. The change range got to big
|
||||
after repeated adding at the end.
|
||||
* Source/NSText.m
|
||||
Made setAlignment:range: save against missing paragraph style
|
||||
|
||||
Fri Jun 16 18:59:44 2000 Nicola Pero <nicola@brainstorm.co.uk>
|
||||
|
||||
* Source/NSTableView.m ([NSTableView -scrollRowToVisible:]): Don't
|
||||
|
|
|
@ -119,6 +119,7 @@
|
|||
- (void) setTextContainerInset: (NSSize)inset
|
||||
{
|
||||
_textContainerInset = inset;
|
||||
[self invalidateTextContainerOrigin];
|
||||
}
|
||||
|
||||
- (NSSize) textContainerInset
|
||||
|
@ -135,7 +136,15 @@
|
|||
{
|
||||
// recompute the textContainerOrigin
|
||||
// use bounds, inset, and used rect.
|
||||
//NSRect bRect = [self bounds];
|
||||
/*
|
||||
NSRect bRect = [self bounds];
|
||||
NSRect uRect = [[self layoutManager] usedRectForTextContainer: _textContainer];
|
||||
|
||||
if ([self isFlipped])
|
||||
_textContainerOrigin = ;
|
||||
else
|
||||
_textContainerOrigin = ;
|
||||
*/
|
||||
}
|
||||
|
||||
- (NSLayoutManager*) layoutManager
|
||||
|
@ -205,6 +214,13 @@
|
|||
// release drag information
|
||||
}
|
||||
|
||||
- (unsigned int) dragOperationForDraggingInfo: (id <NSDraggingInfo>)dragInfo
|
||||
type: (NSString *)type
|
||||
{
|
||||
//FIXME
|
||||
return NSDragOperationNone;
|
||||
}
|
||||
|
||||
- (void) setEditable: (BOOL)flag
|
||||
{
|
||||
if (flag)
|
||||
|
@ -699,11 +715,10 @@ other than copy/paste or dragging. */
|
|||
|
||||
/* Notifies the delegate that the user clicked in a link at the specified
|
||||
charIndex. The delegate may take any appropriate actions to handle the
|
||||
click in its textView: clickedOnLink: atIndex: method.Notifies the delegate
|
||||
that the user clicked in a link at the specified charIndex. The delegate
|
||||
may take any appropriate actions to handle the click in its
|
||||
textView: clickedOnLink: atIndex: method. */
|
||||
|
||||
click in its textView: clickedOnLink: atIndex: method. */
|
||||
if (_delegate != nil &&
|
||||
[_delegate respondsToSelector: @selector(textView:clickedOnLink:atIndex:)])
|
||||
[_delegate textView: self clickedOnLink: link atIndex: charIndex];
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -747,7 +762,6 @@ replacing the selection.
|
|||
[self unregisterDraggedTypes];
|
||||
}
|
||||
|
||||
|
||||
- (NSRange) selectionRangeForProposedRange: (NSRange)proposedSelRange
|
||||
granularity: (NSSelectionGranularity)granularity
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue