From b0e1cf1da8e3136d15564d83caba728b2eb6f360 Mon Sep 17 00:00:00 2001 From: alexm Date: Sat, 12 Jul 2003 18:04:25 +0000 Subject: [PATCH] Call the new methods from suitable places. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17206 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 2 +- Source/NSTextView.m | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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]; }