Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-12-09 | Use const. Replace magic number with constant. | Neil | 1 | -2/+2 | |
2022-12-09 | More safety for potentially empty unwraps with ElementColourForced returning a | Neil | 4 | -16/+23 | |
ColourRGBA which is opaque black if the element not found. | |||||
2022-12-09 | Ensure unwraps of std::optional<ColourRGBA> can be checked by Code Analysis. | Neil | 1 | -17/+15 | |
This prevents warnings about dangerous potential unwraps. The cases where this was detected were protected by earlier checks but the analyser couldn't see that. Its also easier for maintainers to see safe and unsafe unwraps with the changes. | |||||
2022-12-09 | Mark OptionalColour as noexcept. | Neil | 1 | -1/+1 | |
2022-12-09 | Shorten code with ColourOptional alias for std::optional<ColourRGBA>. | Neil | 4 | -27/+29 | |
2022-12-09 | Feature [feature-requests:#1458] Replace complex CopySelectionRange call with | Zufu Liu | 1 | -3/+2 | |
simpler RangeText. This also preserves any NUL characters. | |||||
2022-12-02 | Detangle ASCII and multi-byte code for case-insenstive UTF-8 searches. | Neil | 1 | -21/+18 | |
This avoids some work for the common case of ASCII text, which can reduce time taken for search in text that is ASCII or almost-all ASCII by 30%. Ensures that the bytes variable is always initialized. There are a small gains possible by making other minor changes but they would increase code length and add complexity. Add performance test for UTF-8 search in almost-all ASCII document. Increase size of test cases for more consistent results on faster computers. | |||||
2022-12-02 | Ensure variable is initialized. | Neil | 1 | -3/+4 | |
2022-12-02 | Feature [feature-requests:#1458] Move code into member functions, use | Zufu Liu | 1 | -106/+76 | |
string_view and constexpr. | |||||
2022-12-01 | Change release compilation optimization option to favour speed over space. | Mitchell Foral | 1 | -1/+1 | |
-O2 for MSVC and -O3 for gcc and clang. Change code in Editor.cxx to avoid a warning that occurs with gcc -O3. | |||||
2022-11-28 | Bug [#2363]. Change 'paragraph up' commands SCI_PARAUP and SCI_PARAUPEXTEND to | Michael Heath | 1 | -1/+4 | |
go to the start position of the paragraph containing the caret. Only if the caret is already at the start of the paragraph will it go to the start of the previous paragraph. | |||||
2022-11-24 | Add const and noexcept where sensible. | Neil | 2 | -4/+4 | |
2022-11-22 | Add SCI_REPLACETARGETMINIMAL to change text without causing unchanged prefix and | Neil | 4 | -11/+50 | |
suffix to be marked as modified in change history. | |||||
2022-11-14 | Fix last change with CharacterExtracted to work on Unix. | Neil | 1 | -1/+1 | |
2022-11-12 | Hoist common conversion from UTF-8 byte string into CharacterExtracted | Neil | 2 | -39/+44 | |
constructor. Move CharacterExtracted out of Document so it can be more widely used. | |||||
2022-10-26 | Feature [feature-requests:#1461] Update to Unicode 14. | Neil | 2 | -52/+151 | |
2022-10-20 | Feature [feature-requests:#1459] Send SCN_AUTOCCOMPLETED for SCI_AUTOCSHOW | Neil | 2 | -3/+21 | |
triggering insertion because of SCI_AUTOCSETCHOOSESINGLE mode. | |||||
2022-10-20 | Change ScintillaBase::AutoCompleteInsert to take a string_view and add | Neil | 4 | -10/+15 | |
Document::InsertString overload taking a string_view. These changes simplify callers. | |||||
2022-10-19 | Fix noexcept warnings from recent changes. | Neil | 3 | -3/+4 | |
2022-10-19 | Hoist shared code from GetTextRange and GetTextRangeFull. | Neil | 2 | -29/+21 | |
2022-10-19 | Feature [feature-requests:#1455] Implement GetStyledTextFull as a 64-bit safe | Neil | 2 | -12/+22 | |
version of GetStyledText. | |||||
2022-10-19 | Draw background colour for EOL annotations with standard and boxed visuals. | Neil | 1 | -15/+25 | |
2022-10-19 | Use switch for EOL annotation shape drawing. Use const and PixelAlign for | Neil | 1 | -7/+10 | |
rectangle. These changes should not affect behaviour, they are preparing for next change set that will. | |||||
2022-10-09 | Bug [#2358]. Suppress change history background line shading when printing. | Neil | 1 | -0/+8 | |
2022-10-04 | Feature [feature-requests:#1453] Added SCI_STYLESETINVISIBLEREPRESENTATION to | Ferdinand Oeinck | 4 | -1/+44 | |
make it easier to edit around invisible text. This also allows representing long lexemes with a single character to provide a summarized view. | |||||
2022-10-01 | Draw SC_MARK_BAR markers underneath other markers as they often cover multiple | Neil | 1 | -17/+25 | |
lines for change history and other markers mark individual lines. | |||||
2022-10-01 | Hoist choosing marker variants into PartForFoldHighlight and PartForBar. | Neil | 2 | -33/+40 | |
PaintOneMargin is constant so mark as const. Extend scope of isExpanded to avoid recalculation. This change set does not change behaviour. | |||||
2022-09-30 | Bug [#2357]. Make SCI_LINESCROLL more accurate when width of space not integer. | Zufu Liu | 1 | -1/+1 | |
2022-09-25 | Enlarge point and point top indicators and scale to be larger with larger text. | Neil | 2 | -8/+9 | |
2022-09-25 | Draw lines more consistently in SC_PHASES_TWO and SC_PHASES_ONE modes by | Neil | 1 | -0/+9 | |
clipping drawing to just the line rectangle. | |||||
2022-09-19 | Stop turning on change history when there are steps that can be undone as | Neil | 1 | -1/+1 | |
performing undo before start of change history can crash. | |||||
2022-09-15 | Remove unnecessary ';'. | Neil | 1 | -1/+1 | |
2022-09-12 | Bug [#2349] When more screen lines in ContractionState than LineLayout for a | Neil | 1 | -0/+5 | |
line then draw extra lines in purple bugColour to make the problem obvious. | |||||
2022-09-12 | Remove NotifyLexerChanged notification from DocWatcher. | Neil | 6 | -19/+0 | |
This is a private interface but could be used by independent platform layers and was exposed by ScintillaDocument in the Qt implementation of ScintillaEdit. | |||||
2022-09-02 | Add PixelAlignCeil and call PixelAlign* to avoid repeated code. | Markus Nißl | 2 | -8/+13 | |
2022-08-17 | Display bar marker correctly on last line of document. | Neil | 1 | -1/+1 | |
2022-08-15 | Fix bug where deletion at line end indicated with point disappeared when text | Neil | 3 | -7/+21 | |
inserted on line. Ensure not using old data by clearing all positions - this was hiding problems because deleted positions were still set. | |||||
2022-08-14 | Specify SetCurrentValue as noexcept as that will not change. | Neil | 2 | -17/+31 | |
Add cast functions to simplify code and avoid warnings. | |||||
2022-08-13 | Move ModifierFlags to ScintillaTypes.h as it is globally useful and not tied | Neil | 2 | -10/+0 | |
to Editor. | |||||
2022-08-13 | Avoid access to window IDs (which are platform-dependent) in code that doesn't | Neil | 2 | -7/+12 | |
need them. | |||||
2022-08-13 | Reduce warnings with noexcept, fewer casts, and other minor changes. | Neil | 7 | -28/+32 | |
2022-08-13 | Move append of new line start into PositionCache as AddLineStart. | Neil | 3 | -7/+7 | |
2022-08-09 | Fix indentation. | Neil | 1 | -1/+1 | |
2022-08-09 | Remove unnecessary semicolons. | Neil | 1 | -5/+5 | |
2022-07-30 | Bug [#2340] Add option to contract every level for SCI_FOLDALL called | Zufu Liu | 1 | -10/+19 | |
SC_FOLDACTION_CONTRACT_EVERY_LEVEL. Avoid processing lines multiple times. | |||||
2022-08-01 | Avoid some warnings from Code Analysis. | Neil | 4 | -20/+24 | |
2022-07-31 | Change default change history markers and indicators. | Neil | 1 | -12/+12 | |
2022-07-31 | Add SC_MARK_BAR marker and INDIC_POINT_TOP indicator which are useful for change | Neil | 5 | -3/+88 | |
history. Tweak size of INDIC_POINT and INDIC_POINTCHARACTER. Let translucency of INDIC_COMPOSITIONTHICK be adjusted. | |||||
2022-07-31 | Added change history which can display document changes (modified, saved, ...) | Neil | 12 | -4/+790 | |
in the margin or in the text. | |||||
2022-07-31 | Move main access to active marker bit set to model. This will allow merging in | Neil | 5 | -9/+14 | |
change history markers and simplifies calls. |