Hi, does anyone know how to add "change markers" functionality to SynEdit? I mean those lines, green for modified & saved, yellow for modified & unsaved parts of document... here is an example from other editor:
Yes, I've added it to my copy of SynEdit. I originally snagged the code from another project.
It is broken across (at least) two different units IIRC.
You need to modify SynEditTextBuffer.pas as well as SynEdit.pas.
The code is rather complex because you need to modify several spots in SynEditTextBuffer.pas as well as 1 or 2 spots in SynEdit.pas.
The original project I snagged the code from was being very ambitious in that they were trying to develop code folding and line blocking (as shown in your image) as well.
I couldn't get the code folding to work reliably so I dropped that mod and just used the line change code. I believe that dropping the code folding also dropped the line blocking.
The name of that project is SynEditSudio, it from a Chinese website, but I believe the Firefox translator plugins work pretty well in converting it.
EDIT: contact me directly if you want to get a copy of my changes.
HTH Ryan.