mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:37:39 +00:00
Fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4729 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9ecfd23ff9
commit
c2bfbe3350
6 changed files with 32 additions and 56 deletions
|
@ -1215,8 +1215,6 @@ currentCursorY=[self rectForCharacterIndex:NSMaxRange([self selectedRange])].ori
|
|||
unsigned startIndex;
|
||||
BOOL didDragging=NO;
|
||||
|
||||
NSLog(@"mouseDown:");
|
||||
|
||||
if (!is_selectable) return; // If not selectable then don't recognize the mouse down
|
||||
|
||||
[[self window] makeFirstResponder:self];
|
||||
|
@ -2056,13 +2054,13 @@ NSLog(@"opti hook 2");
|
|||
//FIXME return MakeRangeFromAbs(startLine,endLine+1);
|
||||
if ([plainContent length] != 0) {
|
||||
myTest = MakeRangeFromAbs(startLine,endLine+1);
|
||||
NSLog(@"myTest: length = %d, location = %d\n",
|
||||
NSDebugLog(@"myTest: length = %d, location = %d\n",
|
||||
(int)myTest.length,
|
||||
(int)myTest.location);
|
||||
return myTest;
|
||||
} else {
|
||||
myTest = MakeRangeFromAbs(startLine,endLine);
|
||||
NSLog(@"myTest: length = %d, location = %d\n",
|
||||
NSDebugLog(@"myTest: length = %d, location = %d\n",
|
||||
(int)myTest.length,
|
||||
(int)myTest.location);
|
||||
return myTest;
|
||||
|
@ -2078,8 +2076,6 @@ NSLog(@"opti hook 2");
|
|||
|
||||
redrawLineRange=[self lineRangeForRect:rect];
|
||||
|
||||
NSLog(@"should be drawing text here. No big deal.\n");
|
||||
|
||||
if([self drawsBackground]) // clear area under text
|
||||
{ [[self backgroundColor] set]; NSRectFill(rect);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue