aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextViewAdditions.m
Commit message (Collapse)AuthorAgeFilesLines
* Replace the use of hard coded preference keys with constants to prevent ↵stuconnolly2009-10-171-2/+3
| | | | issues such as the one fixed in revision 1419. All future preference usage should be done so using these constants.
* • add Menu Item "Insert NULL value" SHIFT+CTRL+NBibiko2009-08-031-0/+13
| | | | | | | - it inserts the value set in the preferences • a NULL value will be displayed greyed in the Custom Query result • make usage of NSArrayObjectAtIndex() in TableContent for tableView:willDisplayCell - and negated the NULL checking for column (is NULL allowed)
* • added levenshteinDistanceOfWord: to SPStringAdditionsBibiko2009-07-131-2/+1
| | | | | - will be used mainly for auto-matching column names while csv import • fixed bug for in/decreasing the font size by using the two-finger gesture on a trackpad if a textView has a selection
* • deleted the drag&drop feature of file path or content from ↵Bibiko2009-06-151-172/+0
| | | | | | | | | | | SPTextViewAdditions - that feature should be added by subclassing NSTextView • fixed focus setting of editSheet • fixed general issue if SP tries to execute a query which is longer than max_allowed_packet - now it reconnects after changing max_allowed_packet (if it's editable) - the user will be informed via a log entry about that change - the new max_allowed_packet size will be valid during the current session; after reconnection to that db the default size will be used
* • moved code for de/increasing font and drag&drop feature (content or ↵Bibiko2009-06-131-0/+222
| | | | | | | | | | | | | | while holding ⌘ path) to SPTextViewAddition - two finger zooming gesture is disabled for NSTableView cells - i.e. all NSTextViews including NSTableView cells inherit these feature • simplified QuickLookFormat IBActions - added bin/text storing type to each action • QuickLook animation set to SP's window middle point • fixed issue that while having an image in editSheet an attribute change (font/size) in the editTextView destroyed the image data • fix to allow again drag&drop an image to editSheet • hide text/image/hex segment controll and QuickLook pull down button if user chose multipleLineEditingButton for non-blob fields • disabled NSLog of print result in TableDocument
* • added "Select Enclosing Brackets" to each NSTextView (⇧⌘B)Bibiko2009-06-051-0/+86
|
* More header updates for source files, including Subversion Id property.stuconnolly2009-05-191-0/+2
|
* Source tidy up including standard header for all source files.stuconnolly2009-05-181-1/+0
|
* • changed context menu item in CQ's textview to support "MySQL Help"Bibiko2009-04-301-2/+13
| | | | | • prepared code to work with autoHelp • improved getRangeForCurrentWord (fix for " |a")
* - Build upon documentation lookup by looking up exact manual pages that ↵stuconnolly2009-04-191-2/+4
| | | | | | | correspond to the current MySQL server version as well as allowing the lookup to be performed without actually having the keyword highlighted. Thanks to Hans-Jörg for suggesting these. - Credit Alex King for providing the original documentation lookup code.
* • FIXED bug in doTranspose: if [textView string] === "abc|d" Bibiko2009-04-071-1/+1
|
* • ADDED - (IBAction)doRemoveDiacritics:(id)senderBibiko2009-04-061-0/+22
| | | | | - this method removes all combining diacritics -- e.g. façäñど ⇢ facanと after Unicode's NFD
* • ADDED: - (IBAction)doTranspose:(id)sender;Bibiko2009-04-051-0/+57
| | | | - Note: not yet combining-diacritics-safe!
* • ADDED to SPTextViewAdditions:Bibiko2009-04-051-0/+180
| | | | | | | | | | | | | | - (NSRange)getRangeForCurrentWord - (IBAction)selectCurrentWord:(id)sender; - (IBAction)selectCurrentLine:(id)sender; - (IBAction)doSelectionUpperCase:(id)sender; - (IBAction)doSelectionLowerCase:(id)sender; - (IBAction)doSelectionTitleCase:(id)sender; - (IBAction)doDecomposedStringWithCanonicalMapping:(id)sender; - (IBAction)doDecomposedStringWithCompatibilityMapping:(id)sender; - (IBAction)doPrecomposedStringWithCanonicalMapping:(id)sender; - (IBAction)doPrecomposedStringWithCompatibilityMapping:(id)sender; • BOUNDED these IBAction to mainmenu.xib
* • ADDED: SPTextViewAdditions for adding global functionality to each ↵Bibiko2009-04-051-0/+28
NSTextView in Sequel-Pro