aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexRust.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-2/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-07-17Backport: Update types for Unix LP64 after changes to ↵Neil Hodgson1-1/+1
Sci_Position/Sci_PositionU. Backport of changeset 6352:df1416e3ff3a.
2017-06-22Backport: Add a DefaultLexer class which lexers can subclass if they want ↵Neil1-1/+2
reasonable default implementations of the ILexerWithSubStyles interface methods. Backport of changeset 6326:d18622e37a3e.
2017-06-07Backport: Bug [#1919]. Rust - Update integer suffixes.Pavel Sountsov1-1/+3
Backport of changeset 6302:0577ec50750e.
2017-03-04Use C++11 keyword "override" for methods in lexers that override an interface.Neil1-11/+11
2016-04-16Feature [feature-requests:#1146]. Allow '?' as a valid operator in Rust.Pavel Sountsov1-1/+1
See https://doc.rust-lang.org/book/unsized-types.html#sized.
2016-02-14Bug [#1809]. Rust: Handle new-style Unicode escape sequencesColomban Wendling1-2/+24
https://doc.rust-lang.org/reference.html#unicode-escapes
2015-11-20Remove line end whitespace.Neil1-3/+3
2015-07-30Use Sci_Position / Sci_PositionU for variables in lexers that representJoe Mueller1-24/+24
positions and line numbers and may be widened to 64-bits in a future release.
2015-07-20Use Sci_Position when required to implement interfaces.Neil1-8/+8
2015-01-22Feature [feature-requests:#1098]. Accept `is`/`us` integer suffixes instead ofNeil1-1/+3
`i`/`u`. From Mika Attila.
2014-08-01Rust: Slightly refactor/comment the number literal scanning.SiegeLord1-12/+25
One change introduced by this is that the malformed literal is detected a little earlier in some cases than before.
2014-07-29Rust: Highlight byte-string literals.SiegeLord1-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-29Rust: Allow escaping naked CR in strings.SiegeLord1-1/+1
2014-07-29Rust: Update hashbang comment syntax.SiegeLord1-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-05-24Header include statements are now in a standardised order with that orderNeil1-1/+1
defined in scripts/HeaderOrder.txt.
2014-01-11Rust: Make lexing of float literals more correct.SiegeLord1-21/+23
2013-12-21rust: Implement nested block commentsSiegeLord1-18/+28
2013-12-21rust: Make the doc-comment detection more strict (and consistent with new ↵SiegeLord1-25/+18
Rust compiler rules)
2013-12-21rust: Highlight octal literalsSiegeLord1-0/+3
2013-12-21Fix whitespace in LexRust.cxxSiegeLord1-10/+10
2013-12-21rust: NULL is a valid Rust source character, so do not explicitly consider ↵SiegeLord1-4/+4
it as an error state.
2013-12-21rust: Fix highlighting of r#"""# raw string literal.SiegeLord1-3/+5
2013-11-12Fix out-of-bounds bug. Use symbolic constants instead of numbers.Neil Hodgson1-6/+9
From SiegeLord.
2013-10-19Remove shadowing declarations to avoid warnings.Neil1-2/+2
2013-10-08Feature [feature-requests:#1024]. Lexer added for Rust language.Neil1-0/+768
From SiegeLord.