mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 18:30:58 +00:00
Fix solaris problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15251 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b8d31e5f14
commit
a86c7674e5
2 changed files with 16 additions and 11 deletions
|
@ -1,5 +1,9 @@
|
||||||
2002-12-04 Adam Fedor <fedor@gnu.org>
|
2002-12-04 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
|
||||||
|
-textStorage:edited:range:changeInLength:invalidatedRange:]): Make
|
||||||
|
sure view exists before trying to get range (Solaris limitation).
|
||||||
|
|
||||||
* Source/NSPrintOperation.m: Update for change in GSSetLocale.
|
* Source/NSPrintOperation.m: Update for change in GSSetLocale.
|
||||||
|
|
||||||
2002-12-04 Adam Fedor <fedor@gnu.org>
|
2002-12-04 Adam Fedor <fedor@gnu.org>
|
||||||
|
@ -1795,7 +1799,7 @@ Fri May 10 11:24:38 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
2002-05-01 Adam Fedor <fedor@gnu.org>
|
2002-05-01 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Source/NSView.m (-resizeWithOldSuperviewSize:): Check object
|
* Source/NSView.m (-resizeWithOldSuperviewSize:): Check object
|
||||||
before getting struct. (Solaris limintation).
|
before getting struct. (Solaris limitation).
|
||||||
|
|
||||||
2002-04-30 Adam Fedor <fedor@gnu.org>
|
2002-04-30 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -608,16 +608,17 @@ static inline float defaultFontHeight ()
|
||||||
[[aTextContainer textView] sizeToFit];
|
[[aTextContainer textView] sizeToFit];
|
||||||
[[aTextContainer textView] invalidateTextContainerOrigin];
|
[[aTextContainer textView] invalidateTextContainerOrigin];
|
||||||
|
|
||||||
{
|
if ([aTextContainer textView])
|
||||||
NSRange sr = [[aTextContainer textView] selectedRange];
|
{
|
||||||
if (sr.length == 0
|
NSRange sr = [[aTextContainer textView] selectedRange];
|
||||||
&& aRange.location <= sr.location
|
if (sr.length == 0
|
||||||
&& aRange.location + aRange.length >= sr.location)
|
&& aRange.location <= sr.location
|
||||||
{
|
&& aRange.location + aRange.length >= sr.location)
|
||||||
[[aTextContainer textView]
|
{
|
||||||
updateInsertionPointStateAndRestartTimer: YES];
|
[[aTextContainer textView]
|
||||||
}
|
updateInsertionPointStateAndRestartTimer: YES];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* FIXME - it was reported that at this point lineRange is no longer
|
/* FIXME - it was reported that at this point lineRange is no longer
|
||||||
* correct ... looks like sizeToFit / invalidateTextContainerOrigin
|
* correct ... looks like sizeToFit / invalidateTextContainerOrigin
|
||||||
|
|
Loading…
Reference in a new issue