aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NoodleLineNumberView.m
Commit message (Collapse)AuthorAgeFilesLines
* - Make the DBView window the document window. This allows the document to ↵rowanbeentje2009-07-151-5/+6
| | | | | | | | | | be closed when the window is closed, freeing the document's memory - Update a number of dealloc methods to include more retained memory, and to avoid releasing non-retained memory - Remove notification observers and delegates where appropriate to avoid issues after document closing - Fix a couple of memory leaks - Support window cascading for all windows past the first, using the first window as the autosave window
* • added to SPArrayAdditions.h: NSArrayObjectAtIndex() inline functionBibiko2009-06-181-3/+4
| | | | | | | | | - id o = NSArrayObjectAtIndex(anArray, index) :== id o = [anArray objectAtIndex:index] - this speed up it ~3µs per call - replaced that inline function for such calls within loops to speed up them • used IMP function pointers for keepAlive calls within queryString: • set -O3 (Fastest) compiler option • allow in preference pane "Tables" to set the Limit up to 50000
* Fixed some memory leaks found using llvm/clang. There are still some to fixbamse162009-06-051-1/+0
|
* • removed log for giving up line numberingBibiko2009-05-111-3/+0
|
* • added "Query Editor" preference pane for setting colors, font, and modes ↵Bibiko2009-05-071-0/+8
| | | | | | | | | | | | | | | | | (from the CQ's action gear which are still customizable there) - in addition to the syntax colors it's now possible to change the fore/background color as well • added "Update Help while typing" feature in the Custom Query editor • first trial to improve syntax highlighting for large text in the Custom Query editor - if the text is larger than 10k the highlighting is performed only for the visible text area ±bias (3.5k) - if the user changes the visible area the highlighting follows time-delayed 500ms) to assure user interaction - a test with a 45MB SQL dump worked (of course a tick slowier) -- todo: improve prev/current query detection (mainly the SQLParser) - if the text size is > 6MB the completion list won't show words from the text due to parsing time - if the text size is > 6MB the line numbering will be disabled due to performance issue (improvements should follow) • some tiny clarification changes in the syntax highlighting code • some minor code cosmetics
* - Add support for click and click-and-drag selection when the line number ↵rowanbeentje2009-04-241-1/+64
| | | | view receives mouse events. Enables easy selection of lines.
* • make - (unsigned)lineNumberForCharacterIndex:(unsigned)index ↵Bibiko2009-04-211-1/+0
| | | | inText:(NSString *)text; public to avoid double-coding
* - Implement line numbering for CMTextView:rowanbeentje2009-04-161-0/+493
- Add an implementation of NoodleLineNumberView, by Paul Kim. Slightly tweaked to remove markers. - Add to CMTextView (to enable it for other CMTextView uses, hook up the scrollView outlet to the containing scroll view)