We now properly handle the mouseDown event in the gutter
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 1 Apr 2008 04:33:22 +0000 (00:33 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 1 Apr 2008 04:33:22 +0000 (00:33 -0400)
commitf0222bc3fd0476237a61d8947ebe25e90da491bc
treed41fe8535b979147fca7b402e5408bcd640634b0
parentb2e5c4ae94557c910b9287a7a95be76044836106
We now properly handle the mouseDown event in the gutter

* Source/BSLineNumberView.h: New property called lineNumberRange
* Source/BSLineNumberView.m: Synthesize lineNumberRange and set it to be empty in -[init]
([BSLineNumberView drawRect:]): Set lineNumberRange to be the range of visible lines in the source viewer
([BSLineNumberView mouseDown:]): Use the line number range to simplify the code of determining which line was clicked
* Source/BSSourceView.h: New property file to hold the filename; also create delegate category
* Source/BSSourceView.h: Synthesize file
([BSSourceView setFile:]): Sets the file property as well as setting the string of the textView object
* Source/DebuggerWindowController.m:
([DebuggerWindowController updateSourceViewer]): Use the new -[setFile:] method
Source/BSLineNumberView.h
Source/BSLineNumberView.m
Source/BSSourceView.h
Source/BSSourceView.m
Source/DebuggerWindowController.m