| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
of the textStorage
- this fixes also auto-uppercasing for runAll/Current/SelectionQueries
|
|
|
|
| |
- added highlighting for @vars
|
|
|
|
|
|
| |
• added syntax highlighting for numeric values
• changed syntax highlighting for 'order' and 'group' to 'order by' resp. 'group by' (useful also for visual syntax checking while typing)
• fixed the issue to highlight a keyword if that keyword is the name a variable (e.g. @set := 1)
|
|
|
|
|
|
|
| |
and before performQueries
• improved undo behaviour of auto-uppercasing
• added undo behaviour for pasting queries from favourites & history
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- (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
|
|
|
|
|
| |
- e.g. for a German one ` is a dead key (press space to enter `)
-- further checks needed for other non-US keyboards
|
|
|
|
|
|
|
| |
- in addition fixed issue of typing 'order_' and then deleteBackward: event
[ticket 281 comment 2]
-- solved by looking at the end of SQL keyword token instead at begin of it
=> further discussion "undo behaviour"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
• ADDED the following methods and tentative keyboard support:
- (NSRange)selectCurrentLine ^L
- (NSRange)selectCurrentWord ^W
- (void)copyAsRTF ^C
- (void)doSelectionUpperCase ^U
- (void)doSelectionLowerCase ^⇧U
- (void)doSelectionTitleCase ^⌥U
- (void)doDecomposedStringWithCanonicalMapping
- (void)doDecomposedStringWithCompatibilityMapping
- (void)doPrecomposedStringWithCanonicalMapping
- (void)doPrecomposedStringWithCompatibilityMapping
-- there's no need to add keyboard shortcuts for the last four methods (but these are very useful while dealing with Unicode characters - see “Unicode noramization”)
• some minor code cosmetics
|
|
|
|
| |
- not yet bound to any user interaction
|
|
|
|
| |
in the text view, currently off by default but saved from preferences. Thanks again to Hans-Jörg Bibiko for this patch; see Issue #218.
|
|
|
|
| |
within a quoted string, and also to no longer autoquote escaped characters within a quoted string. Also adds syntax highlighting to `-enclosed strings. Further thanks to Hans-Jörg Bibiko for these further improvements to his original patch (see http://code.google.com/p/sequel-pro/issues/detail?id=208 )
|
|
|
|
|
|
|
|
|
|
|
|
| |
a number of items:
- Add menu commands for "Run All" and "Run Selected", with additional keyboard shortcuts - cmd-R for Run all, addressing #137
- Add menu commands for indenting text, outdenting text, and to show autocompletion is available
- Add menu commands to toggle autopairing and autoindenting
- Also hidden menu commands for history navigation and clearing, not hooked in yet (see #207)
- Add a new method to our string additions: lineRangesForRange
- Add "shift right" (indent) and "shift left" (outdent) support to CMTextView, including for multiple lines
|
|
|
|
|
|
|
|
| |
for the original patch (see http://code.google.com/p/sequel-pro/issues/detail?id=208 for full details). Applied with slight amendments.
- Further changes to make CMTextView more standalone and reusable - autopairing and autoindenting can now be enabled/disabled and checked.
- Autopairing and autoindenting moved to app preferences.
|
| |
|
|
|
|
| |
to improve editor behaviour.
|
| |
|
|
|
|
|
| |
- disabled syntax coloring for texts larger than 20KB (too slow)
- added alot of comments to the syntax coloring code
|
| |
|
| |
|
|
|
|
| |
with 10.4+
|
|
|
|
| |
• TableSource.m : fixed spelling error
|
|
structure.
|