mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 21:50:46 +00:00
Added include for NSScrollView to avoid compiler warning.
[_blink] don't call [NSApp updateWindows], just redisplay our window. [mouseDown:] replaces all [_window flushWindow] with [self displayIfNeeded]. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11292 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5345c32c0d
commit
5c1f2bc376
1 changed files with 6 additions and 5 deletions
|
@ -53,6 +53,7 @@
|
||||||
#include <AppKit/NSTextView.h>
|
#include <AppKit/NSTextView.h>
|
||||||
#include <AppKit/NSParagraphStyle.h>
|
#include <AppKit/NSParagraphStyle.h>
|
||||||
#include <AppKit/NSRulerView.h>
|
#include <AppKit/NSRulerView.h>
|
||||||
|
#include <AppKit/NSScrollView.h>
|
||||||
#include <AppKit/NSPasteboard.h>
|
#include <AppKit/NSPasteboard.h>
|
||||||
#include <AppKit/NSSpellChecker.h>
|
#include <AppKit/NSSpellChecker.h>
|
||||||
#include <AppKit/NSControl.h>
|
#include <AppKit/NSControl.h>
|
||||||
|
@ -2190,7 +2191,7 @@ afterString in order over charRange. */
|
||||||
stillSelecting: YES];
|
stillSelecting: YES];
|
||||||
|
|
||||||
/* Do an immediate redisplay for visual feedback */
|
/* Do an immediate redisplay for visual feedback */
|
||||||
[_window flushWindow]; /* FIXME: This doesn't work while it should ! */
|
[self displayIfNeeded];
|
||||||
|
|
||||||
/* Enter modal loop tracking the mouse */
|
/* Enter modal loop tracking the mouse */
|
||||||
|
|
||||||
|
@ -2218,7 +2219,7 @@ afterString in order over charRange. */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Do an immediate redisplay for visual feedback */
|
/* Do an immediate redisplay for visual feedback */
|
||||||
[_window flushWindow];
|
[self displayIfNeeded];
|
||||||
}
|
}
|
||||||
|
|
||||||
NSDebugLog(@"chosenRange. location = %d, length = %d\n",
|
NSDebugLog(@"chosenRange. location = %d, length = %d\n",
|
||||||
|
@ -2228,7 +2229,7 @@ afterString in order over charRange. */
|
||||||
stillSelecting: NO];
|
stillSelecting: NO];
|
||||||
|
|
||||||
/* Ahm - this shouldn't really be needed but... */
|
/* Ahm - this shouldn't really be needed but... */
|
||||||
[_window flushWindow];
|
[self displayIfNeeded];
|
||||||
|
|
||||||
/* Remember granularity till a new selection destroys the memory */
|
/* Remember granularity till a new selection destroys the memory */
|
||||||
[self setSelectionGranularity: granularity];
|
[self setSelectionGranularity: granularity];
|
||||||
|
@ -3260,8 +3261,8 @@ other than copy/paste or dragging. */
|
||||||
avoidAdditionalLayout: YES];
|
avoidAdditionalLayout: YES];
|
||||||
/* Because we are called by a timer which is independent of any
|
/* Because we are called by a timer which is independent of any
|
||||||
event processing in the gui runloop, we need to manually update
|
event processing in the gui runloop, we need to manually update
|
||||||
the windows. */
|
the window. */
|
||||||
[NSApp updateWindows];
|
[self displayIfNeeded];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSDictionary*) defaultTypingAttributes
|
+ (NSDictionary*) defaultTypingAttributes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue