diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-10-24 21:36:51 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-10-24 21:36:51 +0000 |
commit | e7b2c58d61b3a815de977d0266749197b03b330c (patch) | |
tree | cc57c6145b7db90f223e83e668d260e8269a7179 /Source/CustomQuery.h | |
parent | a5177fe6ec1107f97c326982a77100324532ccc0 (diff) | |
download | sequelpro-e7b2c58d61b3a815de977d0266749197b03b330c.tar.gz sequelpro-e7b2c58d61b3a815de977d0266749197b03b330c.tar.bz2 sequelpro-e7b2c58d61b3a815de977d0266749197b03b330c.zip |
• improved error highlighting
- remember the start position of query/queries and calculate an offset for error highlighting (this fixes issue 442 mostly)
- avoid highlighting of empty "near messages"
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r-- | Source/CustomQuery.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h index 374cfc0d..32d5be19 100644 --- a/Source/CustomQuery.h +++ b/Source/CustomQuery.h @@ -116,9 +116,9 @@ NSString *mySQLversion; NSTableColumn *sortColumn; - int queryStartPosition; + NSUInteger queryStartPosition; - int helpTarget; + NSUInteger helpTarget; WebHistory *helpHistory; NSString *helpHTMLTemplate; @@ -134,7 +134,8 @@ NSString *fieldIDQueryString; - unsigned int numberOfQueries; + NSUInteger numberOfQueries; + NSUInteger queryTextViewStartPosition; } |