aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2021-05-06Remove dead code and imports as found by Vulture.Neil8-221/+11
https://github.com/jendrikseipp/vulture
2021-05-06Fix parameter name.Neil1-3/+2
2021-05-06Fix building unit tests in Visual C++.Neil1-6/+4
2021-05-05Remove deprecated AddCharUTF method.Neil2-8/+0
2021-05-05Avoid some warnings in ResetLineEnds.Neil1-3/+3
2021-05-05Hoist selection text colour into SelectionForeground function and whetherNeil3-32/+47
there is a selection text colour into ViewStyle::SelectionTextDrawn. Pass EditModel to SelectionBackground so focus can be used in a future change. Simplify code, use const and better names. Prefer explicit iterator type to auto in cases where it makes little difference.
2021-05-05Redraw when focus changes. Move hasFocus to EditModel where it can be used forNeil4-2/+6
drawing more easily.
2021-05-04Mark WidthF const noexcept and remove 'f' suffixes as XYPOSITION is now double.Neil1-4/+4
2021-05-03Rename Opaque to WithoutAlpha as it returns a colour with 0 alpha. New OpaqueNeil2-3/+7
method returns a colour with maximum (0xff) alpha.
2021-05-01Improve selection drawing code. Use InSelection enum instead of int.Neil5-62/+87
Add Selection::RangeType and EditModel::LineEndInSelection to hoist code out of EditView. Replace SimpleAlphaRectangle with Surface::FillRectangleAligned when alpha known to not be SC_ALPHA_NOALPHA.
2021-04-28Character indices are no longer provisional so move out of Provisional category.Neil3-36/+33
2021-04-28Spelling.Neil1-2/+2
2021-04-28Document preprocessor values that affect building.Zufu Liu1-1/+44
2021-04-28Use copy instead of loop and rely on make_unique zeroing result.Neil1-5/+2
2021-04-28More reasonable variable name.Neil1-2/+2
2021-04-28Feature [feature-requests:1373]. Use steady_clock for measuring intervals.Zufu Liu1-4/+4
2021-04-28Bug [#2227]. On GTK 3 with Wayland, fix primary selection.Neil Hodgson3-48/+68
2021-04-27Use correct parameter name in description.Neil1-3/+3
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil30-222/+128
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-27Feature [feature-requests:1379]. Update to Unicode 13.Neil3-44/+114
2021-04-27Update Unicode code generation scripts. Update Lexilla, use pathlib, simplify.Neil2-6/+11
2021-04-26Avoid some warnings.Neil7-28/+31
2021-04-26Change std::optional value() to * as value() is not implemented in older macOSNeil Hodgson2-20/+20
releases. Using value() produces error: error: call to unavailable member function 'value': introduced in macOS 10.14
2021-04-26Extract related groups of fields out of ViewStyle into new structs.Neil6-191/+217
Size of ViewStyle makes it more difficult to understand and this helps a bit.
2021-04-26Move hotspotSingleLine from ViewStyle to EditModel as it defines behaviour, notNeil5-7/+6
appearance.
2021-04-25Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil24-319/+298
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired.
2021-04-26Remove some tracing from HeaderCheck as it produces much uninteresting output.Neil1-2/+1
2021-04-26Ignore VS Code settings.Neil1-0/+1
2021-04-24Moved link to follow document.Neil1-1/+1
2021-04-23Remove volatile qualifiers as they cause an error with Clang 12.Neil Hodgson1-2/+2
The glib documentation shows use without volatile and mentions that - While location has a volatile qualifier, this is a historical artifact and the pointer passed to it should not be volatile. https://developer.gnome.org/glib/stable/glib-Threads.html#g-once-init-enter
2021-04-23Work around some Qt 5.14 and 5.15 deprecations with #if so will contrinue toNeil Hodgson1-3/+36
work on Qt 4.x.
2021-04-23Qt 5.15 requires #include <QPainterPath>. Previous versions found it indirectly.Neil Hodgson1-0/+1
2021-04-23Added tag rel-5-0-2 for changeset 5b51130729eaNeil1-0/+1
2021-04-21Updates for 5.0.2.rel-5-0-2Neil9-19/+18
2021-04-21Bug [#2027]. Fix GetFontLocale signature.Zufu Liu1-2/+2
2021-04-20Bug [#2248]. Make autocompletion look the same on macOS 11 as macOS 10Petko Georgiev2-9/+17
by using NSTableViewStylePlain. This prevents truncation of the text of items as well as avoiding problems with size and padding.
2021-04-20Add header to make recent change compile with Xcode.Neil Hodgson1-0/+1
2021-04-20Avoid some warnings and make similar code more consistent.Neil1-15/+8
2021-04-20If text format creation fails, could be because of bad locale so try "en-us".Neil1-0/+7
2021-04-20Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite.Neil11-9/+71
2021-04-20Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil3-35/+28
Change ColourDesired to ColourAlpha in XPM and RGBAImage.
2021-04-20Bug [#2246]. Fix encoding used for DirectWrite text display.Neil2-5/+18
2021-04-15Bug [#2228]. Ensure sysCaretBitmap does not leak.Mat Berchtold1-1/+6
2021-04-15Bug [#2234]. Remove method that is no longer called.Neil2-5/+0
2021-04-15Add default case to IME checking of underline type to prevent warnings.Neil Hodgson1-0/+1
2021-04-15Add casts to prevent warnings from MSVC.Neil1-21/+23
2021-04-15Avoid warning from MSVC.Neil1-1/+3
2021-04-15Widen some position and length values to match core APIs.Neil2-6/+6
2021-04-15Avoid crash on Win32 as it doesn't support font options.Mitchell Foral1-4/+6
2021-04-11Turn off assert for release builds.Neil Hodgson1-3/+4
Remove old SCI_EMPTYCATALOGUE define which is no longer used.