| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
alias it
* This is the case e.g. on NetBSD 10 for ARMv6 where Sci::Position == ptrdiff_t == long int,
but obviously for other platforms as well, where it causes "invalid conversion"
and "undefined symbol" errors.
Scintilla was testing for aliasability by comparing the storage size with sizeof()
or PTRDIFF_MAX == INT_MAX at the preprocessor level.
This was fundamentally flawed.
* In LineVector<T>::InsertLines() we are now using the C++17 construct
std::is_convertible_v<From*,To*> instead.
* We need RunStyles<ptrdiff_t> as well on the affected platforms.
This is impossible to test for in a constant expression that can be used
with the preprocessor.
Also, it's not possible to conditionally instantiate templates.
We tried to instantiate RunStyles for all scalar types that could be behind ptrdiff_t,
but it was causing warnings on MSVC.
Implicitly instantiating RunStyles would be possible, but is not desired.
Therefore as a workaround, you can now define the PTRDIFF_DOESNT_ALIAS_INT
macro when invoking the build system, to force instantiating RunStyles<ptrdiff_t>.
When writing portable applications, you may have to use a compile-time check
for checking aliasability of ptrdiff_t and int in order to define PTRDIFF_DOESNT_ALIAS_INT.
|
|
Avoid processing characters multiple times by relying on from_chars munching
digit characters instead of searching for delimiters.
|
|
|
|
|
|
|
|
|
|
|
|
folding symbols for many years.
|
|
|
|
SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY.
|
|
|
|
|
|
|
|
|
|
SCI_SETSELECTIONSERIALIZED.
|
|
|
|
consistent as 'undo selection' instead of 'selection undo' as more closely
associated with undo than selection.
|
|
|
|
|
|
|
|
|
|
|
|
These force the multiline behaviour of SCI_TAB and SCI_BACKTAB.
|
|
nesting depth.
|
|
parts of multiple selection when copied.
|
|
|
|
|
|
|
|
|
|
|
|
points.
|
|
|
|
|
|
Possible failures include requesting more substyles than available.
|
|
SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT and
SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK.
|
|
This option always selects the first item in the autocompletion list.
|
|
|
|
Write more documentation for undo history.
|
|
when invalid.
|
|
|
|
|
|
|
|
|
|
|
|
Reorder sections to be more reasonable.
|
|
|
|
Lexilla.
|
|
|
|
|