aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NoodleLineNumberView.m
Commit message (Collapse)AuthorAgeFilesLines
* • 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)