| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
- added database names
- fixed logic for detecting if caret is inside quotes
- if caret inside backticks show only db, table, column names
• outsourced syntax highlighting into a method for further improvements
|
|
|
|
| |
- the edit sheet runs modal and the user cannot interact with the Find/Replace dialog
|
|
|
|
| |
supported in the helpWebView policy delegate method
|
| |
|
|
|
|
| |
the cursor on the current line; now indents to the correct level, instead of increasing indentation incorrectly
|
|
|
|
|
|
| |
- it shows the MySQL Help TOC of the front most tableDocument mysql connection, i.e. each tableDocument has its own Help window (due to the fact that the Help is version specific), and makes it the keyWindow
- changed the way for getting the mySQLversion into the CustomQuery; now a new tableDocument set it via [customQueryInstance setMySQLversion:foo]; the other way was to unsafe regarding to get the version if MySQL Help was invoked via MainMenu
• Help window and Create Table Syntax window will be released while closing the tableDocument
|
|
|
|
| |
integers instead of only 2.
|
|
|
|
|
| |
• prepared code to work with autoHelp
• improved getRangeForCurrentWord (fix for " |a")
|
|
|
|
|
|
| |
- updated autoHelp, now it recognizes cursor movement via mouse
• if the chunk in CQ's textview is too large remove all attributes
• some minor code cosmetics
|
|
|
|
|
| |
- refactored and cleaned contextMenuItems for the webview
- help-html-template will be loaded only once
|
|
|
|
|
| |
- first trial to implement an "autoHelp" function
This function calls showHelpForCurrentWord (or selection) 1 sec after stopping typing and shows the Help in the Help window if the caret is not inside of quotes. To invoke it set autohelpEnabled=YES in CMTextView.m's awakeFromNib method.
|
|
|
|
| |
- fixed: escaped single quotes ' in the search string for HELP 'foo' (search selection)
|
| |
|
| |
|
|
|
|
| |
squashed.
|
|
|
|
|
| |
- change help target buttons into a NSSegmentedControl
- fixed minor typo
|
|
|
|
|
|
|
| |
- managed contextual menus in webview
-- added for selection menu "Search in MySQL Help" and "Search in MySQL Documentation"
- fixed keyboard short-cuts in webview
- corrected tooltip for "Web" button in GUI
|
|
|
|
| |
- fix for link detection of [HELP foo] if foo contains a \n
|
|
|
|
| |
IB's grid mechanism)
|
|
|
|
|
| |
- fixed logic to detect whether db connection supports HELP statement
- improved the while typing search, e.g. type in the Help search field "sel"
|
|
|
|
|
| |
- if the connected database doesn't support the HELP statement or the admin deleted the help tables in mysql the search falls back to the online search according to the connected mysql version
- changed slightly the example css output style
|
| |
|
|
|
|
|
|
| |
- simplified code for getting mySQLversion (this eliminates complier warning too)
- change HTML/CSS output slightly for keyword header
- changed back/forward tooltip to be consistent
|
|
|
|
|
|
|
| |
- added history: go back/forward
- window now has auto save name MYSQL_HELP_WINDOW
- disabled contextual menu for safety reasons (temporarily)
- some minor stuff
|
| |
|
| |
|
|
|
|
| |
• added NSBeep() if nothing found in the current-page-search
|
|
|
|
|
| |
• fixed some minor issues to detect http links in help descriptions
• first steps to make SQL statements and see [HELP %] clickable
|
|
|
|
|
|
|
|
|
| |
- added help target (online, in current page, in MySQL help ⌥⌘O,P,M)
- GUI support for go back/forward (not yet implemented)
- ⌘G, ⇧⌘G for find next/prev in current page
- ⌘F selects search field; ⌘+ and ⌘- support
- online search is version sensitive
|
|
|
|
|
|
| |
- better HTML view, list topics for multi-matching keywords
- for test cases invoke it by CTRL+H in the Custom Query textView
- GUI is really tentative!
|
|
|
|
| |
and ~10% smaller distribution file
|
|
|
|
|
|
| |
Custom Query text view
- work in progress!
|
|
|
|
| |
view receives mouse events. Enables easy selection of lines.
|
|
|
|
|
|
|
| |
whatever the last view used in IB is
- Move setAutoEnablesItems:NO from the CustomQuery file to the menu definition in the .xib
|
|
|
|
| |
the code to make it a bit clearer. Builds on r614.
|
|
|
|
|
| |
• improved separator list for word list completion coming from the text view
• minor update for syntax highlighting
|
|
|
|
|
|
| |
Default extension for query log file save is .sql
|
|
|
|
|
|
| |
a bit more readable
- used for show/copy create view syntax as well as for a MySQL dump
|
|
|
|
|
|
| |
to table types (table/view)
• moved code for validation of the gear menu items to validateMenuItem:
|
| |
|
|
|
|
|
|
| |
selected table/view types
• disable/enable gear menu item "Duplicate table/view" according to the number of selected tables/views => for > 1 selected items disable the menu item
|
|
|
|
| |
- todo: change the gear menu item title "Remove table" accordingly
|
|
|
|
| |
the text view for completion to avoid suggesting foo and foo;
|
| |
|
|
|
|
| |
the SELECT/SHOW prefix check.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
asked to "Stop", "Continue" or "Run All"
- Stop: the execution will stop at the erroneous query (if other queries would follow "Execution stopped!" will be prompted in the error message field)
- Continue: continues the execution but shows that alert for a next error
- Run All: runs all following queries regardless of possible errors
• improved the error selection
- fixed the issue for Run Current/Previous (even for duplicates)
- if no error line is given it selects the first query which caused an error entirely
- due to the localization of mysql error messages changed the regexps for catching the:
-- line number to /([0-9]+)$/ because the line number always should be outputted at the end
-- "near message" to / '(.*?)' / (important the last space because after that space the line number will be outputted)
-- further checks are needed
|
| |
|
| |
|