Recent

Author Topic: Changes indicator in TSynEdit probably working wrong  (Read 1331 times)

Pascal

  • Hero Member
  • *****
  • Posts: 832
Changes indicator in TSynEdit probably working wrong
« on: May 18, 2016, 09:55:48 am »
If i am at the  beginning of a line and press
SHIFT and CUROSR-UP (mark a the complete line)
CTRL and C (copy the line to clipboard)
CURSOR-DOWN (release selection and move down one line)
CTRL and V (past the single line from clipboard)
the newly inserted line AND the following (where the cursor now is)
are marked as changed.
In the following line was no change so only the inserted line should be maked as changed.
Or are there "good reasons" for this behavior?

Regards
Pascal
laz trunk - fpc trunk 32bit - Windows 10 Pro x64 (1803)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 5638
    • wiki
Re: Changes indicator in TSynEdit probably working wrong
« Reply #1 on: May 18, 2016, 01:15:40 pm »
Probably no good reason.

Please report on the bug tracker.

Btw the same happens if you press return at the end of a line.
Which probably explains why this happens. If you press return in the middle of a line then there are 2 changed lines (both having half the line). But at the end of line (or start of line), there is (should be) only one changed line.