aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2015-01-29fix problem with folding comments by re-folding the previous line as was ↵Joe Mueller1-1/+12
done in LexerModule::Fold
2015-01-26Use QElapsedTimer::nsecsElapsed for more accurate measurement of durations.Neil2-6/+17
2015-01-24Fix a bug with the q-quote operator.Neil2-23/+30
From Michael Staszewski.
2015-01-22Fix compilation failure of C++11 <regex> on Windows using gcc.Neil2-4/+8
2015-01-22Add INDIC_COMPOSITIONTHIN indicator.Neil5-1/+20
2015-01-22Since gtk_widget_set_double_buffered is deprecated by GTK+ 3.14, only use itNeil Hodgson1-0/+2
when building for earlier versions.
2015-01-22Specify methods that do not use this as static.Neil Hodgson1-2/+2
2015-01-22Fix incorrect call. Was supposed to avoid empty drop.Neil Hodgson1-1/+1
2015-01-22Feature [feature-requests:#1098]. Accept `is`/`us` integer suffixes instead ofNeil2-1/+17
`i`/`u`. From Mika Attila.
2015-01-20Added tag rel-3-5-3 for changeset 8b21bf82adacNeil1-0/+1
2015-01-16When the mouse is on the line between margin and text changed to treat as withinNeil3-1/+10
text. Helps on PLAT_CURSES.
2015-01-15LexHex: reorder lexer states after addition of the "unknown record type"Markus Heidelberg2-30/+30
Move the new state SCE_HEX_RECTYPE_UNKNOWN (was 17) up just below its counterpart SCE_HEX_RECTYPE (2).
2015-01-14Make Japanese IME work in windowed mode.Neil Hodgson1-1/+1
From johnsonj.
2015-01-14Preparing for version 3.5.3.Neil7-16/+17
2015-01-14Change log.Neil1-2/+4
2015-01-13fix bug in handling of comments, make some new features conditional on lexer ↵Joe Mueller1-19/+29
properties to preserve backwards compatibility
2015-01-13LexHex S-Record: use the required data field size for some highlightingMarkus Heidelberg1-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-13LexHex: use SCE_HEX_RECTYPE_UNKNOWN also for Srec and IHexMarkus Heidelberg1-4/+22
2015-01-13Using size_t instead of unsigned int for conversions to UTF16 for 64-bitNeil4-22/+22
compatibility and to lessen the number of casts.
2015-01-11Change log.Neil1-0/+3
2015-01-11LexHex: add a default case for handling faulty states to all lexersMarkus Heidelberg1-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-11LexHex: add a new state for garbage data after the recordMarkus Heidelberg3-8/+14
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-11LexHex Tektronix: use more address field types, not just data addressMarkus Heidelberg1-8/+30
Also use the new function for checking whether the record type is unknown.
2015-01-11LexHex: move general helper function up and add a prototypeMarkus Heidelberg1-17/+18
Even if it is only used in the Tektronix lexer.
2015-01-11LexHex Tektronix: use the dedicated helper function for getting the lengthMarkus Heidelberg1-1/+2
2015-01-11LexHex Tektronix: fix whitespace issues and remove unused leftover codeMarkus Heidelberg1-11/+14
Also clarify the intention of embracing the states in the format description.
2015-01-11LexHex: rename Tektronix extended HEX lexer from "thex" to "tehex"Markus Heidelberg4-19/+19
There exists a similar file format called "Textronix HEX", which would be the better candidate for this short name.
2015-01-11Support removed for Windows 95, 98, and ME.Neil4-94/+25
2015-01-10On Windows GDI, assume font names are encoded in UTF-8 and use wide characterNeil4-17/+30
calls to allow use of Asian font names.
2015-01-09Bug [#1679]. Extra warning.Neil1-0/+1
2015-01-08Feature [feature-requests:#1096]. Lexer added for Tektronix extended hex files.Neil5-1/+212
From danselmi.
2015-01-07Suppress new warning in cppcheck 1.68 in a lexer.Neil1-0/+1
2015-01-07Hide files created by Visual Studio Analyze.Neil1-0/+1
2015-01-06attempt to fix compile errors with different versions of g++ caused by ↵Joe Mueller1-4/+5
missing inclusion of algorithm header file.
2015-01-06modify LexVerilog.cxx to support coloring of inactive code due to ↵Joe Mueller1-142/+652
preprocessor commands
2015-01-07Avoid warning from cppcheck about leaking handle.Neil1-0/+1
2015-01-05Allocate is only called when no handle in constructor so assert that to avoidNeil1-0/+1
warning from cppcheck.
2015-01-05Check for non-NULL render target and avoid Coverity warning.Neil1-1/+1
2015-01-05Change log.Neil1-1/+2
2015-01-05Add folding support for Intel HEX filesMarkus Heidelberg1-3/+57
Extended address records can be used as fold point for subsequent data records.
2015-01-03Change log.Neil1-0/+4
2015-01-02Use gtk_clipboard_request_contents() instead of gtk_selection_convert() for ↵Jiří Techet1-2/+12
paste on GTK When compiling Scintilla on OS X with GTK2 backend (and GTK2 with Quartz backend), gtk_selection_convert() doesn't work. GtkClipboard seems to work fine though.
2014-12-30Lexer added for Intel hex files.Neil3-14/+21
2014-12-30Add new lexer for Intel HEX file formatMarkus Heidelberg2-1/+287
2014-12-30S-Record lexer: reorder lexer statesMarkus Heidelberg1-6/+6
Also temporarily add two gaps, which will be filled by a new lexer.
2014-12-30S-Record lexer: rename states from SCE_SREC_.. to SCE_HEX_..Markus Heidelberg2-55/+55
Preparation for adding a new lexer which uses mostly the same states.
2014-12-30S-Record lexer: extract reusable parts of helper functionsMarkus Heidelberg1-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-29S-Record lexer: fix the description of the maximum data field digit countMarkus Heidelberg1-8/+8
500 was only true for S3 records with 32-bit address.
2014-12-29S-Record lexer: add future-proof highlighting for unknown record typesMarkus Heidelberg2-12/+16
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-29S-Record lexer: correctly count the characters of an invalid short lineMarkus Heidelberg1-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.