| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
• added error highlighting of the first mentioned error
- if a "near message" error is provided select that message otherwise select the entire error line and scrolls to it
- if no "at line x" and no "near message" is given do nothing
- if a selection was given and the user pressed "runAll" destroy the selection before error checking; if no error was found reconstruct that selection (to be able to distinguish between "runSelection" and "runAll" plus selection)
* changed slightly the trigger for syntax highlighting/auto-uppercasing for better scrollToRange behaviour
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
query editor in the MySQL online documentation. Code contributed via issue #236.
|
|
|
|
|
|
| |
- 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)
|
| |
|
| |
|
| |
|
|
|
|
| |
• some minor code cosmetics
|
|
|
|
| |
• keyword update for completion
|
|
|
|
| |
• ADDED: if caret is inside quotes "" or '' show Apple's default completion list due to the spell checker settings
|
|
|
|
| |
• syntax highlighting updated
|
|
|
|
|
|
| |
be a SQL keyword
- e.g. type inta and then press deleteBackward:
|
|
|
|
|
|
| |
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.
|