Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-06-10 | Include header for intptr_t as otherwise not known with gcc 11 on Linux. | Neil Hodgson | 1 | -0/+1 | |
2021-06-10 | Use the position cache when possibe for representations. | Neil | 1 | -1/+12 | |
2021-06-10 | Use string_view for PositionCache methods. | Neil | 3 | -50/+37 | |
Replace custom hash code with standard library hash. Drop standard methods that are not needed. Restrict representations to 200 bytes. Improve documentation. | |||||
2021-06-10 | Don't divide input text into segments in PositionCache::MeasureWidths as text | Neil | 3 | -19/+4 | |
should already have been segmented into reasonable lengths. The Document argument is no longer needed. | |||||
2021-06-10 | Rename SCI_PASTERECTANGULAR to SCI_REPLACERECTANGULAR as it is inserting text | Neil | 1 | -1/+1 | |
provided as an argument instead of from the system clipboard. | |||||
2021-06-09 | Reduce casts by defining methods for common conversions. | Neil | 6 | -170/+183 | |
2021-06-09 | Add SCI_PASTERECTANGULAR to insert text like a rectangular paste. | Mitchell Foral | 1 | -0/+9 | |
2021-06-03 | Add APIs for setting appearance (traditional blob or plain text) and colour of | Neil | 4 | -66/+155 | |
representations and support setting a representation for the "\r\n" line end sequence. | |||||
2021-06-05 | Avoid extra processing as value_or doesn't evaluate lazily. | Zufu Liu | 1 | -2/+2 | |
2021-06-04 | Simplified expression. | Zufu Liu | 1 | -1/+1 | |
2021-06-04 | Bug [#2260]. Fix bug with SCI_GETLASTCHILD when lParam is -1. | Zufu Liu | 3 | -5/+11 | |
Fixed cast on SCI_FOLDCHILDREN to use correct type. | |||||
2021-05-30 | Fix GetFontQuality. Simplify code that calls FlagSet. | Neil | 3 | -18/+18 | |
2021-05-28 | Better exception handling for noexcept methods. More accurate noexcept marking. | Neil | 6 | -24/+49 | |
2021-05-28 | Rename 'NO_FOCUS' to 'INACTIVE' to better match platform terms. | Neil | 3 | -10/+10 | |
2021-05-27 | Fix fold debug mode for margin. | Neil | 1 | -1/+1 | |
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 69 | -2888/+2932 | |
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal. | |||||
2021-05-22 | Encapsulate whether a margin shows folding. | Neil | 3 | -4/+9 | |
2021-05-22 | Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedef | Neil | 20 | -228/+228 | |
will be published in externally visible header. | |||||
2021-05-20 | Prefer Sci::invalidPosition to INVALID_POSITION as Scintilla.h will eventually | Neil | 5 | -32/+32 | |
not be visible to most code. | |||||
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 | 2 | -5/+1 | |
caret appearance for empty selection as empty selections can not be primary. | |||||
2021-05-16 | Include modifiers in SCN_INDICATORRELEASE notification. | Damiano Lombardi | 1 | -1/+1 | |
2021-05-15 | Protect against out-of-bounds layout cache level and remove unnecessary code. | Neil | 2 | -3/+4 | |
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 | 2 | -16/+24 | |
markers can be drawn translucently under text. | |||||
2021-05-14 | Add elements for hot spots SC_ELEMENT_HOT_SPOT_ACTIVE and | Neil | 4 | -22/+17 | |
SC_ELEMENT_HOT_SPOT_ACTIVE_BACK. | |||||
2021-05-14 | Add SC_ELEMENT_WHITE_SPACE_BACK to set the background colour of visible | Neil | 4 | -16/+15 | |
whitespace. | |||||
2021-05-14 | Feature [feature-requests:#1402] Add SC_ELEMENT_WHITE_SPACE to set the colour of | YX Hao | 4 | -22/+31 | |
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 | 6 | -19/+42 | |
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 | 5 | -53/+81 | |
add SetCaretLineLayer. Older caret line APIs SCI_SETCARETLINEVISIBLE, SCI_SETCARETLINEBACK, SCI_SETCARETLINEBACKALPHA now discouraged. | |||||
2021-05-11 | When setting or resetting elements, redraw if caused change. | Neil | 3 | -13/+25 | |
2021-05-11 | Implement SCI_GETELEMENTBASECOLOUR to return the default values for element | Neil | 1 | -0/+3 | |
colours. | |||||
2021-05-11 | Add tests for element APIs. Fix SCI_GETELEMENTCOLOUR to return value including | Neil | 3 | -1/+21 | |
alpha. Set selection and caret elements as allowing translucency. | |||||
2021-05-10 | Change the way that selections and carets are drawn to use the element APIs. | Neil | 4 | -166/+195 | |
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-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-08 | Feature [feature-requests:1373]. Make idle actions smoother by measuring | Neil | 4 | -20/+25 | |
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-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 | |