now it work, but, have you ever clicked the back/left button?
I get the following message:
Exception NSRangeException
*** -[NSBigMutableString rangeOfString:options:range:locale:]: Range or index out of bounds
Exception in
file 'findreplace.NSObject'
at 'do_pbPrevious'
line '77'
callStackSymbols:
(
0 CoreFoundation 0x94ffa40a __raiseError + 410
1 libobjc.A.dylib 0x9358e509 objc_exception_throw + 56
2 CoreFoundation 0x94ffa138 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x94ffa0aa +[NSException raise:format:] + 58
4 Foundation 0x9716f71a -[NSString rangeOfString:options:range:locale:] + 142
5 Foundation 0x9716f683 -[NSString rangeOfString:options:range:] + 70
6 Objective-Basic 0x00022d0c _Z23OBTEXTVIEW_FINDPREVIOUSP11objc_objectS0_ + 405
7 Objective-Basic 0x00074d20 -[findreplace do_pbPrevious:] + 283
8 Objective-Basic 0x0004678f -[global boxedSearchPrevious:] + 106
9 AppKit 0x985baf86 -[NSApplication sendAction:to:from:] + 112
10 AppKit 0x9869a705 -[NSControl sendAction:to:] + 108
11 AppKit 0x986961ba -[NSCell _sendActionFrom:] + 169
12 AppKit 0x986954b1 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
13 AppKit 0x986ea95d -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
14 AppKit 0x98693f07 -[NSControl mouseDown:] + 812
15 AppKit 0x98691f10 -[NSWindow sendEvent:] + 5549
16 AppKit 0x985aab2f -[NSApplication sendEvent:] + 6431
17 AppKit 0x9853e4ff -[NSApplication run] + 917
18 AppKit 0x98536535 NSApplicationMain + 574
19 Objective-Basic 0x0004325d main + 210
20 Objective-Basic 0x00002b41 start + 53
)
and after that, you can't absolutely close the application "Objective-Basic", unless you kill the task.