aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-07-16Backport: Make WrapMode an enum class for more type safety.Neil4-14/+14
Backport of changeset 8413:ef7672c46486.
2020-07-16Backport: Rename validLevel to ValidLevel and make an enum class.Neil4-20/+20
Backport of changeset 8412:999c4c848b8f.
2020-07-16Backport: Rename typeOfFold to FoldPart and make an enum class.Neil3-21/+21
Backport of changeset 8411:606b39f5e1f4.
2020-07-16Backport: Make AddNumber an enum class for more type safety.Neil2-4/+4
Backport of changeset 8410:84c7d7b3c0b8.
2020-07-16Backport: Use enum class for selectionUnit (previously selectionType) for ↵Neil2-32/+32
more type safety. Backport of changeset 8409:74950c91ef69.
2020-07-16Backport: Make EncodingFamily an enum class for more type safety.Neil3-6/+6
Backport of changeset 8408:e89f22691610.
2020-07-16Backport: Add some const, constexpr.Neil3-3/+3
Backport of changeset 8407:dfaa642a6c22.
2020-07-15Backport: Feature [feature-requests:1368]. Add BraceMatchNext API.Zufu Liu3-4/+7
Backport of changeset 8406:a2ce85a55dfa.
2020-07-11Backport: Removed calls that had no effect as drawing in indent guides uses ↵Neil1-2/+0
FillRectangle with explicit arguments. Backport of changeset 8398:daf13e4c0042.
2020-07-11Backport: Treat DEL as a control character for determining block caret size.Zufu Liu1-5/+6
Moved IsControlCharacter to anonymous namespace. Backport of changeset 8396:16e8656c36a7.
2020-07-11Backport: Feature [feature-requests:1369]. Represent DEL control character ↵Zufu Liu1-0/+1
0x7f with DEL. Backport of changeset 8395:b0355e996f10.
2020-06-19Reverted experimental Lexilla and SCI_SETILEXER support.mitchell4-52/+36
When testing, it works when compiled with debug symbols enabled, but crashes without them. It doesn't seem worth maintaining.
2020-06-17Backport: Simplify calls when known to be leaving a save point.Neil1-2/+2
Backport of changeset 8309:adedefb346ef.
2020-06-17Backport: Feature [feature-requests:1361]. Allow caret width to be up to 20 ↵Neil1-1/+1
pixels. Backport of changeset 8308:9f3c5a4c4b52.
2020-06-12Backport: Bug [#2141]. Implement end of line annotations.Prakash Sahni8-2/+192
Backport of changeset 8306:1b383adfdf71.
2020-06-11Backport: Use noexcept where safe and maintainable.Neil25-118/+119
Backport of changeset 8300:266c8247814e.
2020-06-10Backport: Feature [feature-requests:1355]. Round instead of truncating for ↵Neil2-3/+3
SCI_TEXTWIDTH. Backport of changeset 8297:3665e2c20cd4.
2020-06-10Backport: Convert enum to enum class. Add noexcept and const.Neil3-13/+13
Backport of changeset 8296:d8dc184c713c.
2020-06-10Backport: Feature [feature-requests:1357]. Convert to switch.Zufu Liu1-144/+195
Backport of changeset 8295:1a3306c0b2b3.
2020-05-19Backport: Encapsulate common check for PS, LS, and NEL as ↵Neil2-6/+10
UTF8IsMultibyteLineEnd. Avoids construction of temporary array. Backport of changeset 8242:0a852c639c21.
2020-06-17Backport: Feature [feature-requests:1347]. Optimize large insertions by ↵mitchell1-30/+122
using a table-driven line end discovery algorithm and performing line insertions in batches. Backport of changeset 8229:c88f8cdede65, but with a "reinterpret_cast<>" in place of "if constexpr()". This shouldn't be an issue, but if so, it will be when largeDocument is true.
2020-05-04Backport: Feature [feature-requests:1347]. Add methods to insert multiple ↵Neil1-0/+20
partitions. Backport of changeset 8228:753e94011b20.
2020-05-03Backport: Feature [feature-requests:1347]. Add InsertLines method to PerLine ↵Neil5-1/+50
interface and all implementations. This will allow insertion of lines in batches in a future change set. Added tests for PerLine implementations. Backport of changeset 8227:9fc611fc6848.
2020-05-02Backport: Optimize LineVector by maintaining an activeIndices field to avoid ↵Neil1-30/+34
calling LineStartIndex::Active. Backport of changeset 8226:8bc17f710440.
2020-05-02Backport: InsertEmpty now returns a pointer to the newly added elements to ↵Neil1-2/+4
allow caller to efficiently set those elements. Backport of changeset 8225:de663ebc1bc6.
2020-05-02Backport: Feature [feature-requests:1349] Define CopyAllowLine only on ↵Neil1-1/+1
Editor, not subclass. Backport of changeset 8223:a81895285b46.
2020-05-01Backport: Make lambdas noexcept.Zufu Liu3-10/+10
Backport of changeset 8222:b11c7c0d7978.
2020-05-01Backport: Mark Decoration methods noexcept where reasonable.Neil2-34/+34
Backport of changeset 8221:ffc4a50e3101.
2020-06-02Fixed crashes on Win32 related to previous backport.mitchell1-12/+0
2020-06-02Fixed build error on Windows with previous backport.mitchell1-2/+0
2019-12-31Backport: Implement SCI_SETILEXER.Neil2-20/+34
Backport of changeset 7871:ff54e1fc74f3, but with the ability to distinguish between ILexer and ILexer5 interfaces.
2020-06-02Initial, experimental support for upstream ILexer5/lexilla lexers.mitchell3-14/+30
2020-04-17Backport: Arithmetic between enums is deprecated so use constexpr instead of ↵Neil1-7/+7
enum or cast. Added constexpr where reasonable. Backport of changeset 8151:5f70c1eb371b.
2020-04-10Backport: Move static functions into unnamed namespace and simplify line ↵Neil1-20/+22
counting. Backport of changeset 8141:00d61c7df678.
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-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 Clarke5-0/+44
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-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.Neil1-2/+2
Backport of changeset 8099:2228fb724ce7.
2020-04-05Backport: Widen types to size_t to match change from int to position of ↵mitchell3-83/+97
CallTipSetHlt in Scintilla.iface. Backport of changeset 8098:228c9f9aa839.
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-26Backport: Fix spelling mistakes.Neil8-14/+14
Backport of changeset 8028:78a688809e75.
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.
2020-03-24Backport: Use noexcept where possible.Neil4-34/+38
Backport of changeset 8023:7e614e47074d.
2020-03-24Backport: Use noexcept where possible.Neil2-21/+21
Backport of changeset 8022:658a23dc7b4e.
2020-03-23Backport: Use noexcept, const, and constexpr where possible.Neil2-17/+17
Backport of changeset 8021:0dbef7a9205f.