aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorTokens.l
Commit message (Collapse)AuthorAgeFilesLines
* Change lexer definition of high bytes.Max2015-02-011-3/+3
| | | | | | | | | | | | flex does not(*) support UTF-8, therefore alpha [a-z_\.À-゚] has always been interpreted by flex as alpha [a-z_\.\xC3\x80-\xEF\xBE\x9F] I assume this is not what was indetend and the only reason it worked, is because C3 (195),BE (190) and 9F (159) are already covered by 80-EF (128-239). Incidentally this range would also cover the whole Unicode BMP in UTF8. This change should make it more obvious. (*) There were some patches in 2012 and 2014 but they don't seem to have been merged.
* Update lexer to reflect that backticks can actually escape themselves (won't ↵Max2015-02-011-1/+1
| | | | cause visible changes)
* Simplify catchall lexer ruleMax2015-02-011-2/+1
|
* Move some duplicate code into it's own fileMax2015-01-271-54/+1
|
* Remove more SVN properties.Stuart Connolly2014-01-261-4/+2
|
* Adjust keywords list to fix auto capitalisation of "ON". avenjamin2013-03-111-1/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-13/+21
|
* - Fix more compiler warningsrowanbeentje2011-03-151-0/+1
| | | | | - Tweak README
* Fix compiler warnings related to flex and derived sourcesrowanbeentje2011-03-041-2/+1
|
* • updated syntax highlighting and completion suggestions due to 5.5 additionsBibiko2011-01-211-4/+29
| | | | • improved "Format SQL" connection detection
* • fixed syntax highlighting for comments like '--\n' or '--\r' since ↵Bibiko2011-01-201-0/+1
| | | | these're also valid comments in MySQL ( http://dev.mysql.com/doc/refman/5.1/en/comments.html )
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-0/+1
| | | | favorites (Thanks Hans).
* • improved text macro snippet behaviourBibiko2010-02-131-6/+14
| | | | | | • improved the ability to run bash commands inside of snippets • ignore most of the syntax highlighting inside snippet declarations • fixed issue in CMTextView to use obj class variables only to generalise this object
* • updated/added syntax highlighting tokens and completion suggestionsBibiko2010-01-211-7/+7
|
* • added missing PROCEDURE ANALYSE to syntax highlightingBibiko2010-01-191-2/+2
|
* • made lexer 64bit compatibleBibiko2010-01-101-3/+3
| | | | | | - 'int' has to be replaced by 'size_t' • F5 completion - if inside of backticks after completion move caret one char rightwards to go out of the backticks
* 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-3/+23
|
* • fix syntax highlighting for PROCEDUREBibiko2009-05-111-2/+2
|
* • fix for issue 253: syntax highlighting didn't recognize a \r as line endingBibiko2009-05-081-6/+6
|
* • improved completion in CQ's text viewBibiko2009-05-021-1/+1
| | | | | | | - 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
* • updated completion list and added core functionsBibiko2009-04-231-3/+16
| | | | | • improved separator list for word list completion coming from the text view • minor update for syntax highlighting
* • syntax highlighting and completion list updatedBibiko2009-04-141-5/+7
|
* • syntax highlighting and completion list updatedBibiko2009-04-141-1/+2
|
* • syntax highlighting synchronized according to the completion listBibiko2009-04-091-3/+251
| | | | • some minor code cosmetics
* • keyword update for syntax highlightingBibiko2009-04-081-6/+26
| | | | • keyword update for completion
* • simplified paste: (esp. for undo)Bibiko2009-04-081-1/+2
| | | | • syntax highlighting updated
* • ADDED “TRUNCATE” as SQL keyword for syntax highlighting resp. ↵Bibiko2009-04-081-1/+2
| | | | auto-uppercasing
* • syntax highlighting updatedBibiko2009-04-081-108/+143
| | | | - added highlighting for @vars
* • optimized syntax highlighting a bitBibiko2009-04-071-247/+305
| | | | | | • 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)
* • tentative fix to suppress auto-uppercasing/syntax highlighting of ↵Bibiko2009-04-051-2/+2
| | | | table/field names if such a name begins with a SQL keyword followed by a non-ASCII letter like äöüéた etc.
* Rename tokens.h to SPEditorTokens.h and tokens.l to SPEditorTokens.l.stuconnolly2009-03-261-0/+300