Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2021-05-03 | Rename Opaque to WithoutAlpha as it returns a colour with 0 alpha. New Opaque | Neil | 1 | -1/+5 | |
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 | Use copy instead of loop and rely on make_unique zeroing result. | Neil | 1 | -5/+2 | |
2021-04-28 | More reasonable variable name. | Neil | 1 | -2/+2 | |
2021-04-28 | Feature [feature-requests:1373]. Use steady_clock for measuring intervals. | Zufu Liu | 1 | -4/+4 | |
2021-04-27 | Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterType | Neil | 13 | -121/+28 | |
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both. | |||||
2021-04-27 | Feature [feature-requests:1379]. Update to Unicode 13. | Neil | 2 | -44/+102 | |
2021-04-26 | Avoid some warnings. | Neil | 7 | -28/+31 | |
2021-04-26 | Change std::optional value() to * as value() is not implemented in older macOS | Neil Hodgson | 2 | -20/+20 | |
releases. Using value() produces error: error: call to unavailable member function 'value': introduced in macOS 10.14 | |||||
2021-04-26 | Extract related groups of fields out of ViewStyle into new structs. | Neil | 5 | -189/+215 | |
Size of ViewStyle makes it more difficult to understand and this helps a bit. | |||||
2021-04-26 | Move hotspotSingleLine from ViewStyle to EditModel as it defines behaviour, not | Neil | 5 | -7/+6 | |
appearance. | |||||
2021-04-25 | Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. | Neil | 16 | -272/+251 | |
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired. | |||||
2021-04-20 | Add header to make recent change compile with Xcode. | Neil Hodgson | 1 | -0/+1 | |
2021-04-20 | Bug [#2027]. Implement font locale SCI_SETFONTLOCALE on Win32 using DirectWrite. | Neil | 6 | -7/+34 | |
2021-04-20 | Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. | Neil | 3 | -35/+28 | |
Change ColourDesired to ColourAlpha in XPM and RGBAImage. | |||||
2021-04-15 | Bug [#2234]. Remove method that is no longer called. | Neil | 2 | -5/+0 | |
2021-04-05 | Mark more destructors as noexcept. Delete unwanted LisboxX standard methods. | Neil | 1 | -6/+6 | |
2021-04-05 | Extract unnamed caching enum as LineLayoutCache::Cache and change to enum class. | Neil | 4 | -21/+23 | |
2021-04-05 | Extract CharClassify::cc as CharacterClass and change to enum class. | Neil | 5 | -49/+50 | |
2021-04-05 | Change IndentView, WhiteSpaceVisibility, and TabDrawMode to enum class. | Neil | 4 | -26/+26 | |
2021-04-05 | Change actionType to an enum class. | Neil | 3 | -46/+46 | |
2021-04-05 | Change CaseConversion to an enum class. | Neil | 3 | -28/+28 | |
2021-04-03 | Feature [feature-requests:#1392]. Minor optimizations of RESearch. | Zufu Liu | 1 | -11/+12 | |
2021-04-01 | Fix drawing of calltip on curses. | Mitchell Foral | 1 | -1/+3 | |
2021-04-01 | Changed parameters for DrawTabArrow and DrawTabArrowFn to allow additional | Neil | 2 | -9/+9 | |
traits in the future. | |||||
2021-03-30 | Treat SC_MARK_CHARACTER as Unicode for a wider variety of symbols. | Neil | 1 | -4/+6 | |
2021-03-29 | Align polygons so they are crisp. | Neil | 2 | -10/+21 | |
2021-03-29 | Modify ListBox::GetValue to return a std::string to avoid fixed size buffers | Neil | 2 | -18/+14 | |
and the possibility of truncation. | |||||
2021-03-29 | Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements. | Neil | 9 | -0/+56 | |
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists. | |||||
2021-03-28 | Add shapes with curved and rounded ends to EOL annotations as EOLANNOTATION_*. | Neil | 1 | -16/+73 | |