| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2024-09-13 | disable automatic scrolling and choosing the X that caret sticks tosciteco-rel-5-5-2 | Robin Haberkorn | 1 | -1/+7 | |
| * SciTECO needs to avoid automatic scrolling as an optimization. While this works partially by avoiding certain messages like SCI_GOTOPOS (in favor of SCI_SETEMPTYSELECTION), there aren't alternatives for all messages that scroll. For instance SCI_UNDO will always call EnsureCaretVisible(). Also, even if we could avoid all scrolling messages, there is no guarantee that will not suddenly and unexpectedly break in the future. * Instead, every scrolling is now disabled except for an explicit SCI_SCROLLCARET. SciTECO can therefore use the more intuitive messages like SCI_GOTOPOS. * SetLastXChosen() (choosing the X that caret sticks to) has been found to be a major slow down during UNDO and serves no purpose on SciTECO anyway - we have to implement such an algorithm at the SciTECO language level. We therefore simply disable SetLastXChosen(). | |||||
| 2024-09-13 | commented out Editor::SetRepresentations() | Robin Haberkorn | 1 | -1/+1 | |
| * This sets the default key representations on every SCI_SETDOCPOINTER which is very inefficient considering the way that SciTECO uses the Q-Register view. Furthermore it meant, we had to reset the representations to their SciTECO versions again after every SCI_SETDOCPOINTER. * This patch only does not cause problems because we initialize the representations anyway for every Scintilla view. This patch is not meant to be upstreamed! | |||||
| 2024-08-15 | Add SCI_STYLESETSTRETCH to support condensed and expanded text styles. | Neil | 5 | -3/+17 | |
| 2024-08-09 | Simplify code that sets an empty selection at a position. | Neil | 2 | -6/+3 | |
| 2024-07-31 | Feature [feature-requests:#1524]. Add SCI_LINEINDENT and SCI_LINEDEDENT. | Martijn Laan | 2 | -6/+12 | |
| These force the multiline behaviour of SCI_TAB and SCI_BACKTAB. | |||||
| 2024-07-28 | Add SCI_GETUNDOSEQUENCE to determine whether an undo sequence is active and its | Neil | 7 | -0/+18 | |
| nesting depth. | |||||
| 2024-07-27 | Feature [feature-requests:#1530]. SCI_SETCOPYSEPARATOR sets string to separate | Neil | 2 | -4/+14 | |
| parts of multiple selection when copied. | |||||
| 2024-07-15 | Simplify line-end insertions and conversions. | Neil | 2 | -24/+21 | |
| 2024-07-10 | Bug [#2443]. Fix flickering cursor after some mouse action sequences. | Neil | 1 | -1/+6 | |
| 2024-07-03 | Feature [feature-requests:#1523]. SCI_AUTOCSETSTYLE sets autocompletion font. | Martijn Laan | 3 | -4/+25 | |
| 2024-06-20 | Feature [feature-requests:#1518]. Cherry pick SCI_CUTALLOWLINE from isscint. | Martijn Laan | 2 | -17/+53 | |
| 2024-06-11 | Feature [feature-requests:#1517]. Increase maximum zoom set interactively to +60 | Neil | 1 | -1/+1 | |
| points. | |||||
| 2024-06-10 | Simplify SetZoom by calling SetAppearance to do the check if changed sequence. | Neil | 1 | -8/+4 | |
| 2024-05-23 | Suppress some warnings from g++ 14.1 where a UTF-8 character has a maximum | Neil Hodgson | 1 | -0/+5 | |
| length of 4 (UTF8MaxBytes) but the compiler doesn't see this is enforced. | |||||
| 2024-05-16 | Feature [feature-requests:#1516]. Access SpecialRepresentations through a | Zufu Liu | 4 | -15/+16 | |
| unique_ptr. Reduces executable size. | |||||
| 2024-03-23 | Feature [feature-requests:#1512]. Size ms in initializer list. | Zufu Liu | 1 | -13/+2 | |
| Remove erase() and reset() for items that are not set. | |||||
| 2024-03-23 | Feature [feature-requests:#1512]. Reduce calls to vsDraw.ElementColour. | Zufu Liu | 1 | -10/+12 | |
| 2024-03-23 | Feature [feature-requests:#1512]. Simplify ScaledVector::PushBack. | Zufu Liu | 1 | -5/+5 | |
| Prefer UndoActions::Length to UndoActions::lengths.ValueAt. | |||||
| 2024-03-15 | Bug [#2417]. Add elements for inactive additional selections | Neil Hodgson | 2 | -4/+15 | |
| SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT and SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK. | |||||
| 2024-03-15 | Feature [feature-requests:#1512]. Encapsulate access to position and length. | Zufu Liu | 2 | -16/+25 | |
| 2024-03-14 | Add ColourRGBA::Grey constructing method to simplify use of grey-scale colours. | Neil | 4 | -18/+39 | |
| Use symbolic constants for colour components, fixing 'magic number' warnings. | |||||
| 2024-03-14 | Use const iterators where possible. | Neil Hodgson | 1 | -18/+24 | |
| Implement IsDifferentColour to avoid clang-tidy warning about unchecked optional. Share code between SetElementColour and SetElementBase. | |||||
| 2024-03-12 | Replace magic number 32 with defined MarkerMax (31), adjusting condition. | Neil | 2 | -7/+7 | |
| 2024-03-11 | Feature [feature-requests:#1512]. Simplify WriteValue. | Zufu Liu | 1 | -2/+3 | |
| 2024-03-09 | Bug [#2432]. Fix redo failure. | Neil | 1 | -0/+2 | |
| 2024-03-08 | Use noexcept in CharacterCategoryMap. | Neil | 2 | -13/+18 | |
| 2024-03-08 | Feature [feature-requests:#1512]. Simplify ElementForValue. | Zufu Liu | 1 | -6/+5 | |
| 2024-03-08 | Reformat with astyle. | Neil | 5 | -11/+11 | |
| 2024-03-08 | Bug [#2403]. Add SC_AUTOCOMPLETE_SELECT_FIRST_ITEM. | Jiří Techet | 1 | -0/+2 | |
| This option always selects the first item in the autocompletion list. | |||||
| 2024-03-02 | Feature [feature-requests:#1511] Add mayCoalesce argument to BeginUndoAction. | John Ehresman | 5 | -7/+7 | |
| 2024-02-28 | Fix failures with values larger than 0xffffff in 32-bit builds. | Neil | 2 | -28/+28 | |
| 2024-02-28 | Add variant of UTF8Classify that takes a char* so that client code does not have | Neil | 3 | -19/+22 | |
| to reinterpret_cast. Make functions in header constexpr. Prefer .data() to &[] since safer. Avoid else when not needed. | |||||
| 2024-02-27 | Restore change history to the extent possible when restoring undo history. | Neil | 3 | -67/+82 | |
| 2024-02-18 | Restore change history when restoring undo history. | Neil | 3 | -0/+63 | |
| 2024-02-16 | Implement detach point access with SCI_SETUNDODETACH and SCI_GETUNDODETACH. | Neil | 7 | -16/+59 | |
| Write more documentation for undo history. | |||||
| 2024-02-15 | Avoid reinterpret_cast and add const. | Neil | 2 | -4/+14 | |
| 2024-02-15 | Mark Document methods noexcept where they call noexcept CellBuffer methods. | Neil | 1 | -8/+8 | |
| 2024-02-15 | Perform validation of undo state when SCI_SETUNDOCURRENT called, setting status | Neil | 6 | -12/+57 | |
| when invalid. | |||||
| 2024-02-14 | Ensure no exceptions when deleting undo history. | Neil | 2 | -1/+7 | |
| 2024-02-14 | Remove redundant inline from constexpr functions. | Neil | 1 | -5/+5 | |
| 2024-02-09 | Implement API to read and write undo history from applications. | Neil | 7 | -2/+276 | |
| 2024-02-09 | Avoid overhead of extra start actions that delimited user operations. Now relies | Neil | 4 | -111/+118 | |
| on mayCoalesce flag to indicate that a user operation is complete when false. | |||||
| 2024-02-02 | Implement ScaledVector to store undo positions and lengths using less memory in | Neil | 2 | -19/+149 | |
| most cases. Often reduces memory use by around 50% for 32-bit builds and 75% for 64-bit builds as it may use 2-bytes for a position or length instead of 4 or 8 bytes. | |||||
| 2024-02-01 | Change UndoHistory from an array-of-structs to a struct-of-arrays to allow each | Neil | 2 | -56/+77 | |
| element to use minimum memory. Start by reducing (type,mayCoalesce) from 8 or 4 bytes to 1 byte. | |||||
| 2024-02-01 | Prefer member initializers. Simplify logic. | Neil | 2 | -14/+6 | |
| 2024-02-01 | Store undo text in ScrapStack, a single allocation instead of one allocation per | Neil | 3 | -36/+81 | |
| step. This saves about 50% for a long sequence of single byte actions. | |||||
| 2024-02-01 | Add UndoAction class as internal type for undo actions and make Action a struct | Neil | 6 | -48/+66 | |
| that is used for reporting undo steps to Document. This will allow further minimization of undo memory use. | |||||
| 2024-02-01 | Move UndoHistory into its own module that is accessible from CellBuffer and | Neil | 4 | -340/+398 | |
| tests but hidden from most of Scintilla. Access through std::unique_ptr. | |||||
| 2024-01-27 | Use noexcept where reasonable. | Neil | 2 | -32/+32 | |
| 2024-01-27 | Feature [feature-requests:#1458] Reduce memory used for undo actions. | Zufu Liu | 2 | -14/+9 | |
