diff --git a/ChangeLog b/ChangeLog index 3760f2907..67029dfd9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,7 @@ * Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m: Add -_updateInputMethodState and -_updateInputMethodWithInsertionPoint: - methods. Minor cleanups in comments. + methods. Call them in suitable places. Minor cleanups in comments. 2003-07-12 Gregory John Casamento diff --git a/Source/NSTextView.m b/Source/NSTextView.m index 2fb294c3d..2296f659c 100644 --- a/Source/NSTextView.m +++ b/Source/NSTextView.m @@ -322,6 +322,7 @@ this happens when layout has been invalidated, and when we are resized. [self setNeedsDisplay: YES]; [self updateInsertionPointStateAndRestartTimer: [self shouldDrawInsertionPoint]]; + [self _updateInputMethodState]; } -(void) _layoutManagerDidInvalidateLayout @@ -3036,6 +3037,8 @@ Figure out how the additional layout stuff is supposed to work. } } #endif + + [self _updateInputMethodWithInsertionPoint: _insertionPointRect.origin]; }