Currently, SCI_MOVESELECTEDLINESUP
and SCI_MOVESELECTEDLINESDOWN
cause any indicator ranges inside the text to be cleared.
To reproduce in SciTE:
Add this to an options file:
user.shortcuts=Alt+Down|2621| # SCI_MOVESELECTEDLINESDOWN
Restart SciTE.
Type the following text:
hello world
Invoke Search → Find.
e
e
in the first line is highlighted with an indicator.Intuitively, moving a block of text should not change things that are entirely contained within it.
I think it would be better to preserve indicator ranges in this case, if possible.
Indicators do not stick to text that has been moved or copied. Mark All produces a snapshot result and does not attempt to maintain those indicators.