aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NoodleLineNumberView.m
Commit message (Collapse)AuthorAgeFilesLines
* - Fix an uninitialised value in the custom query line number view which ↵rowanbeentje2013-08-281-0/+1
| | | | could cause an exception if the window was dragged very quickly near the top of the text view ruler (http://spbug.com/l/2344)
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-1/+1
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-12/+1
| | | | enable some more
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-21/+21
|
* Changes required to merge Sequel Pro r4011 into Codasqlprodev2013-02-141-0/+12
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-22/+21
|
* • fixed issue for line numbering view if associated textView is scrolled ↵Bibiko2012-01-051-4/+2
| | | | | | from origin {0,0}; now it's synchronized • minor speed ups for custom query editor
* • sped up the line number drawing; now it's 5 times fasterBibiko2012-01-051-20/+27
|
* • sped up line range calculation a bitBibiko2011-05-271-16/+16
|
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-1/+0
|
* - Fix more warningsrowanbeentje2011-03-141-26/+26
|
* fixed compiler warningssqlprodev2011-03-011-5/+5
|
* • fixed tiny overseen bug by speeding up the line numbering; the complete ↵Bibiko2011-02-171-1/+1
| | | | visible rect will be updated
* • commented out unused code; applied global layoutManager and container to ↵Bibiko2011-02-171-12/+8
| | | | all methods - for speed
* • some minor speed improvementsBibiko2011-02-171-12/+16
|
* • some speed improvements for line numberingBibiko2011-02-161-35/+36
|
* • several speed optimisations and code cleaningBibiko2011-02-021-231/+252
|
* • some minor code improvements for speed esp. for line selecting via gutterBibiko2011-01-251-30/+33
|
* • fixed GUI problem for line numbering in Query EditorBibiko2010-12-141-70/+71
| | | | | | • improved Bundle command script editor • sped up a bit the NoodleLineNumbering by pre-calculation of constants used in a loop • fixed issue to detect the scope Query Editor better and safer for Bundle commands
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-1/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-0/+1
| | | | favorites (Thanks Hans).
* • sped up Query Editor for larger textBibiko2010-02-011-90/+89
| | | | - rewrote [NoodleLineNumber requiredThickness] completely to avoid stack overflow for larger text due to [NSMutableString string] plus appendString all the time without releasing it in time
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-27/+28
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* - 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)