Recent

Author Topic: SynEdit and gutter behaviour  (Read 3756 times)

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
SynEdit and gutter behaviour
« on: September 14, 2011, 04:46:49 pm »
Hi,

I have a SynEdit on a form and I do this

Code: [Select]
  SynEdit1.SelText := '//Bye';

This works as expected, and in the gutter the line is now marked as changed.

However if I do this:

Code: [Select]
  SynEdit1.Lines[1] := SynEdit1.Lines[1] + ' // Hi';   

The Line gets updated allright, but the gutter does not mark the line as changed.

Question:

  • Is this a bug?
  • If it is not a bug, how can I make the gutter mark this line as changed?

Bart

 

TinyPortal © 2005-2018