diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-04 14:11:55 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-04 14:11:55 +0000 |
commit | fa3a82bd89eee142c575e13e47eb6a7bd5e1fc89 (patch) | |
tree | ee2536c1bafc17235d0d9d68ed5df3e100236319 /Source/MGTemplateStandardMarkers.h | |
parent | f3e421d2e4ba9ec54878968c34044dce89dc6f09 (diff) | |
download | sequelpro-fa3a82bd89eee142c575e13e47eb6a7bd5e1fc89.tar.gz sequelpro-fa3a82bd89eee142c575e13e47eb6a7bd5e1fc89.tar.bz2 sequelpro-fa3a82bd89eee142c575e13e47eb6a7bd5e1fc89.zip |
• added support for the “delimiter” command
- added
(NSArray *) splitSqlStringByCharacter:(unichar)character;
(NSArray *) splitSqlStringIntoRangesByCharacter:(unichar)character;
(long) firstOccurrenceInSqlOfCharacter:
to the SQLParser which recognize a “delimiter” command
• queryAtPosition now works with ranges to speed it up
- the current query ranges resp. the just activated query range are cached in order to avoid parsing if the user only navigates through the textView buffer, or if the user calls Run Prev/Current Query only
• the "import dump" function makes usage of that new “delimiter” support
- i.e. dumps with procs/funcs declaration could be imported
IMPORTANT: Please check the new SQLParser exhaustively in order to prove that new approach
Diffstat (limited to 'Source/MGTemplateStandardMarkers.h')
0 files changed, 0 insertions, 0 deletions