diff options
author | Neil <nyamatongwe@gmail.com> | 2024-12-02 09:50:46 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-12-02 09:50:46 +1100 |
commit | 349c44dbd037cb881444fdef48f2a1621692738e (patch) | |
tree | 4e28d9de75c4ced57f72d25209d07fc4c6ba836b /src/RunStyles.cxx | |
parent | 7ab81a310fdd4f2196034eaecb1d03fbd4ef203c (diff) | |
download | scintilla-mirror-349c44dbd037cb881444fdef48f2a1621692738e.tar.gz |
Optimize calculating lines of range to redraw when whole range is on one line.
SciLineFromPosition is a binary search over the line indices but LineStart is
just indexing so is less expensive.
This code may limit performance when updating many positions.
Diffstat (limited to 'src/RunStyles.cxx')
0 files changed, 0 insertions, 0 deletions