aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2023-01-09Use unsigned literal and temporary to stop conversion warnings for each ↵Neil1-4/+6
includer.
2023-01-09Move methods from header to implementation to avoid conversion warnings forNeil2-2/+10
each includer.
2022-12-23Bug [#2360]. Switch back from dynamic_cast to static_cast for per-line dataMat Berchtold1-6/+6
structures. This undoes change set [eca055].
2022-12-21Bug [#2340]. Avoid repeated call in GetFoldParent for around 10% performanceZufu Liu2-16/+10
gain with Visual C++ 64-bit release mode on 300,000 line file. Remove duplicated code and simplify. GetFoldLevel and thus GetFoldParent can't throw so mark as noexcept.
2022-12-12Reorder arguments to drawing functions to be consistent.Neil3-359/+373
Make methods private or make into functions where possible to hide more implementation. Reorder methods and functions so related code closer and header and implementation match order. Use unnamed namespace instead of static.
2022-12-09Use const. Replace magic number with constant.Neil1-2/+2
2022-12-09More safety for potentially empty unwraps with ElementColourForced returning aNeil4-16/+23
ColourRGBA which is opaque black if the element not found.
2022-12-09Ensure unwraps of std::optional<ColourRGBA> can be checked by Code Analysis.Neil1-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-09Mark OptionalColour as noexcept.Neil1-1/+1
2022-12-09Shorten code with ColourOptional alias for std::optional<ColourRGBA>.Neil4-27/+29
2022-12-09Feature [feature-requests:#1458] Replace complex CopySelectionRange call withZufu Liu1-3/+2
simpler RangeText. This also preserves any NUL characters.
2022-12-07Update download sizes.Neil1-1/+1
2022-12-07Added tag rel-5-3-2 for changeset cd20da25b81fNeil1-0/+1
2022-12-02Updates for version 5.3.2.rel-5-3-2Neil9-19/+20
2022-12-02Detangle ASCII and multi-byte code for case-insenstive UTF-8 searches.Neil3-26/+46
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-02Ensure variable is initialized.Neil1-3/+4
2022-12-02Feature [feature-requests:#1458] Move code into member functions, useZufu Liu1-106/+76
string_view and constexpr.
2022-12-01Change release compilation optimization option to favour speed over space.Mitchell Foral5-4/+8
-O2 for MSVC and -O3 for gcc and clang. Change code in Editor.cxx to avoid a warning that occurs with gcc -O3.
2022-12-01On Qt, allow string form XPM images for SCI_REGISTERIMAGE.Mitchell Foral2-1/+7
2022-11-29Bug [#2344]. When GDI scaling is active, ensure correct monitor used forNeil3-4/+4
determining scale factor. Function name changed to avoid possibility of confusion with Win32 API.
2022-11-28Bug [#2363]. Change 'paragraph up' commands SCI_PARAUP and SCI_PARAUPEXTEND toMichael Heath3-1/+52
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-26Bug [#2344]. Avoid blurry display with DirectWrite in GDI scaling mode.Markus Nißl5-18/+77
https://sourceforge.net/p/scintilla/code/merge-requests/28/
2022-11-24Add const and noexcept where sensible.Neil2-4/+4
2022-11-22Add SCI_REPLACETARGETMINIMAL to change text without causing unchanged prefix andNeil12-17/+128
suffix to be marked as modified in change history.
2022-11-14Fix last change with CharacterExtracted to work on Unix.Neil1-1/+1
2022-11-12Hoist common conversion from UTF-8 byte string into CharacterExtractedNeil2-39/+44
constructor. Move CharacterExtracted out of Document so it can be more widely used.
2022-10-29On Qt, implement SCI_SETRECTANGULARSELECTIONMODIFIER for all platforms.dail88593-14/+10
2022-10-29Bug [#2344]. Use the top-level window to find the monitor for DirectWriteMarkus Nißl4-1/+32
rendering parameters. Temporarily switch DPI awareness to find correct monitor in GDI scaling mode. https://sourceforge.net/p/scintilla/code/merge-requests/34/
2022-10-28Standardize and fix issue links.Neil1-6/+6
2022-10-27Restore *.plist that were removed in last commit as they are needed for macOS.Neil1-1/+1
2022-10-27Remove .lastbuildstate files so that Visual Studio won't be confused aboutNeil1-1/+1
executable being already built so start will rebuild.
2022-10-26Add check for validity of 'seealso' links in documentation. Fix 'seelaso' links.Neil2-30/+36
Fix some minor formatting issues.
2022-10-26Document SC_AC_SINGLE_CHOICE.Neil1-0/+10
2022-10-26Feature [feature-requests:#1461] Update to Unicode 14.Neil2-52/+151
2022-10-23Feature [feature-requests:#1457] Reuse MouseWheelDelta for autocompletion lists.Zufu Liu3-24/+18
This code triggers when wheel rotated and mouse is outside list.
2022-10-20Feature [feature-requests:#1459] Send SCN_AUTOCCOMPLETED for SCI_AUTOCSHOWNeil6-3/+29
triggering insertion because of SCI_AUTOCSETCHOOSESINGLE mode.
2022-10-20Change ScintillaBase::AutoCompleteInsert to take a string_view and addNeil4-10/+15
Document::InsertString overload taking a string_view. These changes simplify callers.
2022-10-19Fix noexcept warnings from recent changes.Neil3-3/+4
2022-10-19Hoist shared code from GetTextRange and GetTextRangeFull.Neil2-29/+21
2022-10-19Feature [feature-requests:#1455] Implement GetStyledTextFull as a 64-bit safeNeil12-26/+79
version of GetStyledText.
2022-10-19Draw background colour for EOL annotations with standard and boxed visuals.Neil2-15/+36
2022-10-19Use switch for EOL annotation shape drawing. Use const and PixelAlign forNeil1-7/+10
rectangle. These changes should not affect behaviour, they are preparing for next change set that will.
2022-10-12Added tag rel-5-3-1 for changeset 072c537a8b35Neil1-0/+1
2022-10-09Updates for 5.3.1 release.rel-5-3-1Neil2-5/+4
2022-10-09File changed/new messages are printed in diagnostic format to make it easier toNeil1-1/+1
open the file.
2022-10-09Update version number to 5.3.1.Neil8-16/+16
2022-10-09Bug [#2358]. Suppress change history background line shading when printing.Neil2-0/+12
2022-10-04Bug [#2349]. Fix bug where there were too many or too few lines when wrapping.Neil Hodgson2-0/+10
2022-10-04Feature [feature-requests:#1453] Added SCI_STYLESETINVISIBLEREPRESENTATION toFerdinand Oeinck12-1/+94
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-01Draw SC_MARK_BAR markers underneath other markers as they often cover multipleNeil3-20/+35
lines for change history and other markers mark individual lines.