Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-13 | fix bug in handling of comments, make some new features conditional on lexer ↵ | Joe Mueller | 1 | -19/+29 | |
properties to preserve backwards compatibility | |||||
2015-01-13 | LexHex S-Record: use the required data field size for some highlighting | Markus Heidelberg | 1 | -29/+75 | |
Equal to how it is already implemeted for the Intel HEX lexer. Specific record types do not use a data field, the checksum field directly follows the address field then. In these cases now the byte count field is also marked as wrong if its content is not what is to be expected for this record type. Also the checksum field is now fixed after the address field instead of allowing data field in between if the byte count is too big. Also simplify this code path for IHex to be equal to the Srec code. | |||||
2015-01-13 | LexHex: use SCE_HEX_RECTYPE_UNKNOWN also for Srec and IHex | Markus Heidelberg | 1 | -4/+22 | |
2015-01-11 | LexHex: add a default case for handling faulty states to all lexers | Markus Heidelberg | 1 | -0/+15 | |
If the state variable is set to a state not used in this lexer, an endless loop would occur because Forward() is never invoked then. | |||||
2015-01-11 | LexHex: add a new state for garbage data after the record | Markus Heidelberg | 1 | -8/+12 | |
IHex and Srec just set to the DEFAULT state before, TEHex used the SCE_HEX_DATA_UNKNOWN state for garbage data, which is not the actual intention for this state. | |||||
2015-01-11 | LexHex Tektronix: use more address field types, not just data address | Markus Heidelberg | 1 | -8/+30 | |
Also use the new function for checking whether the record type is unknown. | |||||
2015-01-11 | LexHex: move general helper function up and add a prototype | Markus Heidelberg | 1 | -17/+18 | |
Even if it is only used in the Tektronix lexer. | |||||
2015-01-11 | LexHex Tektronix: use the dedicated helper function for getting the length | Markus Heidelberg | 1 | -1/+2 | |
2015-01-11 | LexHex Tektronix: fix whitespace issues and remove unused leftover code | Markus Heidelberg | 1 | -11/+14 | |
Also clarify the intention of embracing the states in the format description. | |||||
2015-01-11 | LexHex: rename Tektronix extended HEX lexer from "thex" to "tehex" | Markus Heidelberg | 1 | -14/+14 | |
There exists a similar file format called "Textronix HEX", which would be the better candidate for this short name. | |||||
2015-01-08 | Feature [feature-requests:#1096]. Lexer added for Tektronix extended hex files. | Neil | 1 | -0/+203 | |
From danselmi. | |||||
2015-01-06 | attempt to fix compile errors with different versions of g++ caused by ↵ | Joe Mueller | 1 | -4/+5 | |
missing inclusion of algorithm header file. | |||||
2015-01-06 | modify LexVerilog.cxx to support coloring of inactive code due to ↵ | Joe Mueller | 1 | -142/+652 | |
preprocessor commands | |||||
2015-01-05 | Add folding support for Intel HEX files | Markus Heidelberg | 1 | -3/+57 | |
Extended address records can be used as fold point for subsequent data records. | |||||
2014-12-30 | Add new lexer for Intel HEX file format | Markus Heidelberg | 1 | -1/+282 | |
2014-12-30 | S-Record lexer: rename states from SCE_SREC_.. to SCE_HEX_.. | Markus Heidelberg | 1 | -39/+39 | |
Preparation for adding a new lexer which uses mostly the same states. | |||||
2014-12-30 | S-Record lexer: extract reusable parts of helper functions | Markus Heidelberg | 1 | -35/+60 | |
CalcChecksum() takes a parameter to decide between one's or two's complement. The variable "cs" has been changed to "signed int" to simplifiy calculation of the two's complement with signed arithmetic instead of using bitwise operations, which would cause "overflow" warnings in Coverity without additional "& 0xFF" masking. | |||||
2014-12-29 | S-Record lexer: fix the description of the maximum data field digit count | Markus Heidelberg | 1 | -8/+8 | |
500 was only true for S3 records with 32-bit address. | |||||
2014-12-29 | S-Record lexer: add future-proof highlighting for unknown record types | Markus Heidelberg | 1 | -12/+14 | |
An S4 record for example, which is not defined in the S-Record specification, will now be highlighted until record end (checksum) instead of aborting after the "byte count" field. The former behaviour looked a bit half-baked. Since the size of the address field is unknown, the address and data fields are highlighted with the same style in the new state SCE_SREC_DATA_UNKNOWN. Alternating styles (ODD/EVEN) for readability of the data field of valid record types are not applied. | |||||
2014-12-29 | S-Record lexer: correctly count the characters of an invalid short line | Markus Heidelberg | 1 | -8/+18 | |
If the line only consisted of 3 digits (e.g. S12), then highlighting of the third one (first digit of the "count" field) was dependent on the content of the subsequent line. Now this digit is always highlighted as valid "byte count", independent on its value, if there is no further digit behind. The function return value can be negative now. | |||||
2014-12-17 | Highlights doc comment keywords; has separate styles for input, output, and | Neil | 1 | -68/+137 | |
inout ports; and fixes a bug in highlighting numbers. From Haimag Ren. | |||||
2014-12-12 | LexBash: Empty heredoc delimiters can also be indented | Colomban Wendling | 1 | -1/+2 | |
2014-12-12 | LexBash: Only tabulations are allowed as prefix with `<<-` heredoc | Colomban Wendling | 1 | -1/+1 | |
Only tabulations are allowed to prefix the delimiter on indented here-documents, not any white space. | |||||
2014-12-12 | LexBash: Don't allow spaces between `<<` and `-` in a heredoc operator | Colomban Wendling | 1 | -3/+6 | |
`<<-` is an operator of itself, not two separate tokens `<<` and `-`. This fixes handling of delimiters starting with `-`, like this: cat<< -EOF ... -EOF | |||||
2014-12-09 | Feature [feature-requests:#1091]. Lexer for Motorola S-Record. | Neil | 1 | -0/+360 | |
From Markus Heidelberg. | |||||
2014-11-28 | LexCPP: Also fold on square brackets | Colomban Wendling | 1 | -2/+2 | |
This allows to fold on array literals for languages like JavaScript that use square brackets to declare array literals. This should not change much for languages that only use square brackets for array indexation as the large majority of the time the open and close brackets are placed on the same line in these cases. | |||||
2014-11-29 | Add a missing comma to separate word list decriptions.rel-3-5-2 | Neil | 1 | -1/+1 | |
2014-11-25 | Bug [#1420]. CoffeeScript: Describe existing secondary keyword sets | Colomban Wendling | 1 | -0/+3 | |
2014-11-25 | Bug [#1420]. CoffeeScript: Drop code that doesn't apply to CoffeeScript | Colomban Wendling | 1 | -166/+9 | |
Drop obsolete code that was copied from LexCPP but that is not relevant or even valid for CoffeeScript. Closes #1420. | |||||
2014-10-14 | Bug [#1664]. Fix folding of "block" keyword. | Neil | 1 | -1/+2 | |
From danselmi. | |||||
2014-09-06 | Support the q-quote operator as SCE_SQL_QOPERATOR. | Neil | 1 | -1/+31 | |
From Michael Staszewski. | |||||
2014-09-03 | Remove unused function. | Neil Hodgson | 1 | -5/+0 | |
2014-09-03 | Feature [feature-requests:#1071]. BibTeX lexer added. | Neil | 1 | -0/+315 | |
From Sergiu Dotenco and danselmi. | |||||
2014-09-03 | Normalise header inclusion order. | Neil | 1 | -2/+2 | |
2014-08-22 | Bug [#613]. Fix folding when "component' before name. | Neil | 1 | -13/+37 | |
From danselmi. | |||||
2014-08-20 | Bug [#1527]. Support block comments in VHDL. | Neil | 1 | -11/+65 | |
From danselmi. | |||||
2014-08-09 | Added lexer for registry files. | Neil | 1 | -0/+416 | |
From nkmathew. | |||||
2014-08-01 | Rust: Slightly refactor/comment the number literal scanning. | SiegeLord | 1 | -12/+25 | |
One change introduced by this is that the malformed literal is detected a little earlier in some cases than before. | |||||
2014-08-01 | Support transpose character after {} operator | John Donoghue | 1 | -1/+4 | |
* lexers/LexMatlab.cxx (ColouriseMatlabOctaveDoc): add check in default state for '}' to allow transpose. | |||||
2014-07-29 | Rust: Highlight byte-string literals. | SiegeLord | 1 | -22/+42 | |
This adds support for two new string literals and one new string literal, corresponding to the existing versions of these. Compared to the originals, the new literals have slightly different escapes and are ASCII only. I've decided to simply add flags to the existing scanners to handle them. New styles had to be added to handle the line spanning string literals. The byte character style was added for consistency. | |||||
2014-07-29 | Rust: Allow escaping naked CR in strings. | SiegeLord | 1 | -1/+1 | |
2014-07-29 | Rust: Update hashbang comment syntax. | SiegeLord | 1 | -1/+1 | |
Hashbang comments that start with the following 3 characters: #![ do not count as hashbang comments, but rather some other syntax (inner attribute). | |||||
2014-07-30 | Ruby: fix theoretical missing assignment and remove dead one | Colomban Wendling | 1 | -1/+1 | |
2014-07-29 | Allow identifier suffix = in Ruby symbol literals | Colomban Wendling | 1 | -1/+6 | |
See comments in bug [#1627] for some details. | |||||
2014-07-29 | Allow global/class/instance variables as Ruby symbol literals | Colomban Wendling | 1 | -0/+25 | |
See comments in bug [#1627] for some details. | |||||
2014-07-29 | Bug [#1627]. Allow FIDs as Ruby symbol literals | Colomban Wendling | 1 | -1/+5 | |
2014-07-29 | Fixing previous change for mako to be type-safe. | Neil | 1 | -1/+1 | |
2014-07-26 | Bug [#1622]. Don't crash with ## comments in Mako. | Neil | 1 | -1/+7 | |
From John Ehresman. | |||||
2014-07-16 | Bug [#1622]. Don't crash with SGML after a Mako comment. | Neil | 1 | -1/+3 | |
2014-07-08 | Feature [feature-requests:#1053]. Add a block comment state. | Neil | 1 | -0/+7 | |