aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2020-05-09Updated history with Lua LPeg lexer changes.mitchell1-2/+25
2020-04-25Reformatted Lua LPeg lexers and added new convenience functions and pattern.mitchell123-1459/+1398
`lexer.range()` replaces `lexer.delimited_range()` and `lexer.nested_pair()`. `lexer.to_eol()` replaces `patt * lexer.nonnewline^0` constructs. `lexer.number` replaces `lexer.float + lexer.integer`. Also added unit tests for lexer functions.
2020-04-24Updated BACKPORTING.mitchell1-0/+20
2020-04-21Backport: Feature [feature-requests:1346]. Add lexer.as.comment.character ↵Dejan Budimir2-1/+13
property to change comment character. Backport of changeset 8155:b89853508137.
2020-04-17Backport: Arithmetic between enums is deprecated so use constexpr instead of ↵Neil2-10/+11
enum or cast. Added constexpr where reasonable. Backport of changeset 8151:5f70c1eb371b.
2020-04-16Backport: Specify that NotifyStyleNeeded is an override. Replace 0/NULL with ↵Neil1-5/+5
nullptr. Backport of changeset 8149:080d259e014a.
2020-04-13Backport: Use const, constexpr, noexcept, & nullptr. Reduce headers and use ↵Neil1-42/+39
C++ versions. Replace ctype functions with lexlib functions that don't fail for non-ASCII. Backport of changeset 8148:64c6264b38d2.
2020-04-13Backport: Hide implementation of EscapeSequence and use const. Add tests for ↵Neil1-13/+12
escape sequences. Backport of changeset 8144:ce9d95250569.
2020-04-13Backport: Replace islower function and add tests for JavaScript regular ↵Neil2-3/+5
expressions. Backport of changeset 8143:a5eb440dc1e2.
2020-04-13Backport: Use constexpr and noexcept, reduce headers and use C++ versions, ↵Neil1-12/+10
harmonize types a bit. Backport of changeset 8142:a823c9510148.
2020-04-10Backport: Move static functions into unnamed namespace and simplify line ↵Neil1-20/+22
counting. Backport of changeset 8141:00d61c7df678.
2020-04-10Backport: Updated documentation with currently used astyle parameters.Neil1-1/+3
Backport of changeset 8140:d9561a4b77f4.
2020-04-10Backport: Run astyle indenter over file.Zufu Liu1-11/+12
Backport of changeset 8139:b15e8d7fed18.
2020-04-24Backport: Feature [feature-requests:1346]. Convert long if-else block to switch.mitchell1-251/+325
Backport of changeset 8138:9f24b2af91f8.
2020-04-10Backport: Remove non-standard whitespace.Zufu Liu1-5/+5
Backport of changeset 8137:a7bfb6d4756c.
2020-04-10Backport: Fix some warnings from Clang-Tidy.Neil1-4/+4
Backport of changeset 8135:463c3cd3d8b2, but without [[maybe_unused]], which is C++17 only.
2020-04-10Backport: Bug [#2168]. Fix bug where 'µ' (Micro Sign) case-insensitively ↵Neil2-3/+13
matches '?'. Backport of changeset 8134:b28166a7c77b.
2020-04-10Backport: Bug [#2167]. Add line copy format on clipboard, compatible with ↵Justin Dailey2-1/+38
Visual Studio. Backport of changeset 8133:82b2210d3a1c.
2020-04-09Backport: Typo.Zufu Liu1-1/+1
Backport of changeset 8132:98c63169ddef.
2020-04-08Backport: Removed superfluous space.Neil1-2/+0
Backport of changeset 8131:e9f3cb39afd1.
2020-04-08Backport: Simplify PerLine, remove casts, use noexcept, const, & constexpr ↵Neil4-60/+56
where possible. Backport of changeset 8130:55de9045370a.
2020-04-08Backport: Feature [feature-requests:1344]. Add methods for iterating through ↵Iain Clarke10-3/+103
the marker handles and marker numbers on a line. Backport of changeset 8129:665c31051e3c.
2020-04-07Backport: Use noexcept and const where possible.Neil2-10/+10
Backport of changeset 8128:e56cf725d51c.
2020-04-07Backport: Use const as avoids warning.Neil2-2/+2
Backport of changeset 8127:3558673f7706.
2020-04-07Backport: Bug [#1624]. Fix brace styling in Batch lexer so that brace ↵Yury Dubinsky3-382/+461
matching works. Bug [#1906], Bug [#1997], and Bug [#2065] also fixed. Backport of changeset 8126:57002ee9dccf.
2020-04-06Backport: Typo.Neil1-1/+1
Backport of changeset 8125:e07adbc1fb4b.
2020-04-06Backport: Change log.Neil1-0/+6
Backport of changeset 8124:3d5cc1c29738.
2020-04-06Backport: Bug [#2164]. Change line comments to terminate at next line start.Neil3-273/+273
This changes the lexing test results a lot since line comments are common. Backport of changeset 8123:3f7f9e476cfb.
2020-04-07Fixed drawing of block caret in overtype mode.mitchell1-1/+1
The overtype cursor was being displayed one cell behind the current position.
2020-04-05Updated BACKPORTING.mitchell1-0/+2
2020-04-05Enable autoscrolling when clicking and dragging the mouse to make selections.mitchell1-1/+1
2020-04-05Backport: Feature [feature-requests:1345]. Use ListBox_ macros in preference ↵Neil1-10/+10
to LB_ messages. Modify types to match. Backport of changeset 8111:d15f7fe3467b.
2020-04-05Backport: Feature [feature-requests:1345] Use more typesafe code to clear ↵Neil3-14/+9
window pointers, share implementation of window pointers between files, use GetWindowStyle. Backport of changeset 8110:33f16ac2c3ca.
2020-04-05Backport: Perform autoscroll when mouse on pixel just below window.Mitchell Foral1-1/+1
This mostly helps the curses platform where a line of text is a single 'pixel'. Backport of changeset 8109:14e30b7917dd.
2020-04-05Backport: Pass argument as unique_ptr to show transfer of ownership. Add ↵mitchell3-6/+6
const and noexcept. Backport of changeset 8106:f26e186e80a9.
2020-03-27Backport: Avoid casts by returning size_t from GetExpanded.Neil3-5/+5
Backport of changeset 8099:2228fb724ce7.
2020-04-05Backport: Widen types to size_t to match change from int to position of ↵mitchell5-83/+99
CallTipSetHlt in Scintilla.iface. Backport of changeset 8098:228c9f9aa839.
2020-04-02Fixed curses overlapping window drawing bug in Windows.mitchell1-3/+4
A view could not draw autocompletion lists and calltips over itself, but it could draw over other views just fine.
2020-03-29Forgot a 0-to-1 conversion in r8093.mitchell1-1/+1
2020-03-29lexlua: Fixed incorrect grammar building for lexers that embed themselves.mitchell2-1/+4
When there is no initial '*_whitespace' style, child lexers should prefer their parent's grammar rather than their own.
2020-03-29Backport: Extract arrow drawing to function. Use noexcept, const and other ↵Neil2-48/+60
minor changes to fix warnings before making widening types in the next change set. Backport of changeset 8097:06cbbf702640.
2020-03-29Backport: Update documentation to match changes in Scintilla.iface.Neil1-13/+13
Backport of changeset 8096:e074c2becc5f.
2020-03-29Backport: Use correct wider types.Mitchell Foral1-4/+4
Backport of changeset 8095:55f5243a2594.
2020-03-29Fixed bad backport r8078:742f17c763a4.mitchell1-0/+5
Since C++11 does not support "static inline" initializers, the static members must still be defined elsewhere.
2020-03-28Switch to 1-based style numbers internally in Lua.mitchell3-67/+64
2020-03-27Updated BACKPORTING.mitchell1-0/+50
2020-03-26Backport: Fix spelling mistakes.Neil13-26/+26
Backport of changeset 8028:78a688809e75.
2020-03-25Backport: Replace const with constexpr where possible.Neil1-10/+6
Backport of changeset 8026:3d47c097aa3f.
2020-03-25Backport: Fix link warning by using incorrect subsystem value for 64-bit ↵Neil1-0/+6
Windows XP. Relies on Platform environment variable and defaults to 32-bit. Backport of changeset 8025:5a6e242072ae.
2020-03-25Backport: Replace static_cast with dynamic_cast for better type safety and ↵Neil1-1/+1
adherence to C++ Core Guidelines C.146. Backport of changeset 8024:5893c2efc0d8.