Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-20 | Add LevelIsHeader and LevelIsWhitespace as fold levels will become enum class | Neil | 5 | -37/+45 | |
later so not work well with '&'. | |||||
2021-05-19 | Bug [#2253]. Remove SC_ELEMENT_CARET_SECONDARY as it caused unexpected change to | Neil | 5 | -18/+2 | |
caret appearance for empty selection as empty selections can not be primary. | |||||
2021-05-17 | Fix issues reported by Coverity and Visual C++ Analysis. | Neil | 2 | -21/+31 | |
Throw when (impossible) dynamic_cast failures occur as it isn't reasonable to recover. That removes 'noexcept' from some methods. Cast to avoid 'sub-expression overflow' warnings. Add default initializations and noexcept where safe. Move DropRenderTarget out of #if to avoid some preprocessor use. | |||||
2021-05-16 | Remove untenable noexcept as RGBAImageSet constructor can throw. | Neil | 1 | -1/+1 | |
2021-05-16 | Include modifiers in SCN_INDICATORRELEASE notification. | Damiano Lombardi | 2 | -1/+6 | |
2021-05-15 | Updated test since setting the alpha of caret line when it hasn't had colour set | Neil | 1 | -0/+1 | |
no longer sets it to have a colour. | |||||
2021-05-15 | Protect against out-of-bounds layout cache level and remove unnecessary code. | Neil | 3 | -4/+5 | |
Make documentation more accurate. | |||||
2021-05-15 | Bug [#2253]. For SCI_SETSELALPHA, also update the alpha of secondary and ↵ | Neil Hodgson | 1 | -2/+5 | |
no-focus states to avoid hiding text under opaque selections. This leads to very faint selections but that is preferrable to not being able to see text. | |||||
2021-05-14 | Do not set alpha of SC_ELEMENT_CARET_LINE_BACK unless already has a colour. | Neil | 1 | -1/+3 | |
2021-05-14 | Implement SC_LAYER_UNDER_TEXT so that selections, caret lines, and content area | Neil | 7 | -30/+92 | |
markers can be drawn translucently under text. | |||||
2021-05-14 | Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE and | Neil | 9 | -27/+83 | |
SC_ELEMENT_HOT_SPOT_ACTIVE_BACK. | |||||
2021-05-14 | Add SC_ELEMENT_WHITE_SPACE_BACK to set the background colour of visible | Neil | 7 | -28/+60 | |
whitespace. | |||||
2021-05-14 | Feature [feature-requests:#1402] Add SC_ELEMENT_WHITE_SPACE to set the colour of | YX Hao | 8 | -25/+52 | |
visible whitespace including translucency. | |||||
2021-05-14 | Draw EOL annotation shapes under text. | Neil | 1 | -1/+1 | |
2021-05-14 | Add method to mix colours in a proportion. | Neil | 1 | -0/+11 | |
2021-05-14 | Add SCI_MARKERSETLAYER to define layer on which to draw content area markers. | Neil | 11 | -29/+78 | |
This replaces the use of SC_ALPHA_NOALPHA for markers. | |||||
2021-05-12 | Switch caret line background colour to SC_ELEMENT_CARET_LINE_BACK element and | Neil | 10 | -79/+240 | |
add SetCaretLineLayer. Older caret line APIs SCI_SETCARETLINEVISIBLE, SCI_SETCARETLINEBACK, SCI_SETCARETLINEBACKALPHA now discouraged. | |||||
2021-05-12 | Allow property-style access to colour and colouralpha APIs. | Neil | 1 | -3/+7 | |
2021-05-11 | When setting or resetting elements, redraw if caused change. | Neil | 3 | -13/+25 | |
2021-05-11 | Add test for SelectionLayer. | Neil | 1 | -0/+6 | |
2021-05-11 | Implement SCI_GETELEMENTBASECOLOUR to return the default values for element | Neil | 6 | -7/+46 | |
colours. | |||||
2021-05-11 | Implement UpdateBaseElements on Win32 to update colours to match current system | Neil | 1 | -0/+21 | |
settings. Trigger UpdateBaseElements when system settings change. | |||||
2021-05-11 | Add tests for element APIs. Fix SCI_GETELEMENTCOLOUR to return value including | Neil | 4 | -1/+54 | |
alpha. Set selection and caret elements as allowing translucency. | |||||
2021-05-10 | Implement UpdateBaseElements on Cocoa to update colours to match current system | Neil Hodgson | 3 | -0/+83 | |
settings. Trigger UpdateBaseElements when system settings change. This makes Scintilla (by default) track the correct tint to show as the selection background. | |||||
2021-05-10 | Change the way that selections and carets are drawn to use the element APIs. | Neil | 8 | -210/+464 | |
2021-05-10 | Spelling fixes. | Neil | 1 | -6/+6 | |
2021-05-10 | Add elementBaseColours to hold default or system derived colours. | Neil | 4 | -1/+42 | |
Editor::UpdateBaseElements can be overridden by platform layers to set base colours although they should also do this when they detect changes in system settings. | |||||
2021-05-09 | Change first responder / active handling so only treating as focussed when | Neil Hodgson | 3 | -12/+34 | |
both active and first responder. This has no visual effect yet but allows greying the selection when not focussed. | |||||
2021-05-07 | Use shared_ptr for LineLayoutCache as it simpifies lifetime management. | Neil | 5 | -91/+41 | |
AutoLineLayout and other code no longer needed so removed. | |||||
2021-05-07 | Overallocate line layout cache so that don't reallocate too often. | Neil | 1 | -2/+13 | |
2021-05-07 | When resizing for Cache::page, move cached entries to correct positions. | Neil | 2 | -21/+58 | |
Hoist position calculation into EntryForLine method. | |||||
2021-05-07 | Add lineNumber_ argument to LineLayout constructor so always knows which line it | Neil | 5 | -28/+35 | |
is for. Add accessor for line number and method to say whether compatible with a line number and number of characters. Since LineLayout can report its line number, remove line argument from EditView::LayoutLine which simplifies calling it. | |||||
2021-05-07 | Ensure a line is only ever in one line layout cache entry. Preserve calculated | Neil | 1 | -29/+49 | |
data where possible when overwriting a cache entry. | |||||
2021-05-09 | Feature [feature-requests:1405]. Enable hardware-enforced stack protection in | Neil | 1 | -0/+1 | |
Visual C++ project file. | |||||
2021-05-09 | Add @file to template files. | Neil Hodgson | 2 | -2/+2 | |
2021-05-09 | Add @file <filename> comments to follow convention. | Neil | 21 | -24/+47 | |
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X. | |||||
2021-05-08 | Feature [feature-requests:1373]. Make idle actions smoother by measuring | Neil | 5 | -20/+32 | |
per-byte and allowing just one line to be processed in a time slice. Very long lines will not distort estimation or block interaction as much. | |||||
2021-05-08 | Feature [feature-requests:1373]. Add methods for refining idle task durations. | Zufu Liu | 2 | -0/+20 | |
2021-05-08 | Feature [feature-requests:1405]. Enable hardware-enforced stack protection. | Neil | 2 | -2/+9 | |
2021-05-06 | Remove dead code and imports as found by Vulture. | Neil | 8 | -221/+11 | |
https://github.com/jendrikseipp/vulture | |||||
2021-05-06 | Fix parameter name. | Neil | 1 | -3/+2 | |
2021-05-06 | Fix building unit tests in Visual C++. | Neil | 1 | -6/+4 | |
2021-05-05 | Remove deprecated AddCharUTF method. | Neil | 2 | -8/+0 | |
2021-05-05 | Avoid some warnings in ResetLineEnds. | Neil | 1 | -3/+3 | |
2021-05-05 | Hoist selection text colour into SelectionForeground function and whether | Neil | 3 | -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-05 | Redraw when focus changes. Move hasFocus to EditModel where it can be used for | Neil | 4 | -2/+6 | |
drawing more easily. | |||||
2021-05-04 | Mark WidthF const noexcept and remove 'f' suffixes as XYPOSITION is now double. | Neil | 1 | -4/+4 | |
2021-05-03 | Rename Opaque to WithoutAlpha as it returns a colour with 0 alpha. New Opaque | Neil | 2 | -3/+7 | |
method returns a colour with maximum (0xff) alpha. | |||||
2021-05-01 | Improve selection drawing code. Use InSelection enum instead of int. | Neil | 5 | -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-28 | Character indices are no longer provisional so move out of Provisional category. | Neil | 3 | -36/+33 | |