aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2026-02-13Simplify conversion of line end bytes to representation for visible line ends.Neil1-8/+7
2026-02-12Simplify drawing of eol-is-selected rectangle.Neil2-17/+19
2026-02-12Use const and simplify expressions in DrawEOL.Neil1-14/+9
2026-02-08Simplify FillLineRemainder and calling FillLineRemainder.Neil1-23/+20
2026-02-07Use std::array for text measurement cases where it only adds a little code.Neil1-4/+5
2026-02-07Warning avoidance and code tidying.Neil1-15/+23
2026-02-07Avoid some warnings to make more interesting issues visible.Neil4-12/+14
2026-02-07Rename some xStart to xOrigin as xStart was used for different purposes.Neil2-23/+23
Now, xOrigin is the origin of drawing content inside the text pane and xStart is the origin after taking indentation (ll->wrapIndent) of wrapped lines into account on subline 1 and later.
2026-01-31Use min and max instead of conditional code.Neil1-22/+11
2026-01-31Fix some warnings from magic numbers and else after return.Neil1-7/+6
2026-01-17Hoist calculation of last style of line into function and simplify logic.Neil3-8/+14
2026-01-14Hoist EOL annotation padding calculations into functions.Neil1-39/+45
2026-01-14Encapsulate updating maximum width for scroll bar adjustment.Neil2-12/+11
2026-01-26Minor simplifications in Editor::Indent.Neil1-18/+13
2026-01-26Small optimizations and adding noexcept for column calculations.Neil2-18/+23
Caches document length and specializes for ASCII characters in FindColumn.
2026-01-19Allow Euro in code page 936 for byte 0x80.Zufu Liu1-1/+4
2026-01-10Feature [feature-requests:#184]. Small optimization.Nathaniel Braun1-1/+1
2026-01-08Feature [feature-requests:#184]. Add option to disable drag/drop editingNathaniel Braun2-2/+11
SCI_SETDRAGDROPENABLED. Fully implemented on Win32 but may only prevent dragging on other platforms.
2026-01-07Bug [#2491]. Fix lexing after undo at end of document.Neil1-1/+4
2025-12-22Small optimization avoids retrieving font ascent twice.Zufu Liu1-2/+3
2025-12-22Feature [feature-requests:#1571]. Improve determination of monospace.Zufu Liu1-2/+2
Use minimum width of ASCII graphic characters instead of font's reported average character width to determine reasonable epsilon for equality of all graphic character widths. Case reported where average character width was inaccurate.
2025-12-18Convert old style cast into more specific C++ cast.Zufu Liu1-2/+4
Replace magic number with symbolic constant. Avoids lint warnings.
2025-12-08Bug [#2488]. Fix SCI_SETSELECTIONNSTART and SCI_SETSELECTIONNEND.Neil3-2/+32
2025-12-08Use symbolic constants and simplify code.Neil1-24/+22
2025-12-04Feature [feature-requests:#1564]. Use vector to store FoldMaps as map is notNeil2-10/+21
nothrow default constructable.
2025-12-04Feature [feature-requests:#1564]. Remove DBCSSetFoldMap as never called.Neil2-5/+0
2025-12-04Use const where reasonable.Neil1-2/+2
2025-11-27Feature [feature-requests:#1564]. Ensure DCBS fold map initialized and foldingNeil1-1/+1
produces sensible values when DBCS lead byte followed by non trail byte.
2025-11-04Feature [feature-requests:#1569]. Update to Unicode 16.Neil2-21/+117
2025-11-03Support ptrdiff_t if it has the same storage size as int, but does *not* ↵Robin Haberkorn2-2/+3
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.
2025-10-29Feature [feature-requests:#1567]. Remove unnecessary InvalidateStyleRedraw call.YX Hao1-1/+0
2025-10-29Feature [feature-requests:#1567]. Fix bug when indenting rectangular selection.Zufu Liu1-0/+8
2025-10-13Fix Cocoa bidirectional mode crash when scrolled before start of document.Neil Hodgson1-1/+1
2025-10-12Bug [#2487]. Reduce work performed for SetSelectionSerialized.Zufu Liu1-1/+1
2025-10-12Bug [#2487]. When undo restores selection, ensure selection redrawn correctly.Zufu Liu1-0/+1
2025-09-29Bug [#2486]. Eliminate special macOS default calltip colorJiří Techet1-6/+0
There doesn't seem to be any editor using this color these days and the result looks alien on the platform. Using grey on white looks much more native for the platform.
2025-07-03Feature [feature-requests:#1563]. Move main range in selection serialized form.Zufu Liu2-29/+31
Avoid processing characters multiple times by relying on from_chars munching digit characters instead of searching for delimiters.
2025-06-26Fix some typos and indentation.Neil1-1/+1
2025-06-17Feature [feature-requests:#1557]. Fix finding sub-line of position inZufu Liu1-10/+8
bidirectional mode which is used for accessibility on macOS with VoiceOver. Avoid out-of-bounds access.
2025-06-17Feature [feature-requests:#1557]. Shorten expression.Zufu Liu1-1/+1
2025-06-01Add SCI_SCROLLVERTICAL API.Neil4-4/+46
2025-05-29Recreate all pixmaps if any null as this may better handle cases where someNeil3-10/+6
allocations succeed and others fail.
2025-05-28Bug [#2481]. Refresh pixmaps later inside Paint so non-null when dereferenced inNeil1-3/+2
for validity check.
2025-05-25Feature [feature-requests:#1557]. Simplify LineLayout deallocation.Zufu Liu2-25/+3
2025-05-24Remove line end space.Zufu Liu6-6/+6
2025-05-24Change the line wrap memory growth strategy to handle huge documents better.Zufu Liu1-2/+2
Clarify code a little.
2025-05-20Feature [feature-requests:#1557]. Simplify line wrapping.Zufu Liu1-15/+7
2025-05-18Modify wrapping fix to be more efficient.Zufu Liu2-7/+4
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16373
2025-05-16Fix wrapping bug for UTF-8 where \r\n could wrap between the characters.Neil1-0/+6
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16373
2025-05-16Silence warning with intermediate constant.Neil1-1/+2