When you have editor in read only mode with enabled eoTrimTrailingSpaces and select text, it will mark editor as modified, even is in ReadOnly mode, cause change caret Y causes trim.
Synedit.pas, line 3504 (inside TCustomSynEdit.SetCaretXYEx procedure)
original code:
//Trim here
if (Value.Line <> fCaretY) and (eoTrimTrailingSpaces in fOptions) and
Fixed:
//Trim here
if not FReadOnly and (Value.Line <> fCaretY) and (eoTrimTrailingSpaces in fOptions) and
When you have editor in read only mode with enabled eoTrimTrailingSpaces and select text, it will mark editor as modified, even is in ReadOnly mode, cause change caret Y causes trim.
Synedit.pas, line 3504 (inside TCustomSynEdit.SetCaretXYEx procedure)
original code:
Fixed: