SynEdit. Why "fAttributes" mut be Sorted? lazarus / 69-SynEdit ---------------------------------------------------------------------- Edson · 2014-06-04 18:19 On TSynCustomHighlighter.Create(), it is defined: Code: [Select]     fAttributes.Sorted := TRUE; Is it necessary?. I mean: can I change it to:? Code: [Select]    fAttributes.Sorted := FALSE;   ... , without expect to  lose some functionality. I'm trying to create dynamic attributes and I need, to have fixed the references on fAttributes. Thanks ---------------------------------------------------------------------- Martin_fr · 2014-06-04 20:17 The setting seems to have been there for very long. I can see no reason why it should be a problem / In fact I did not see a reason why they are sorted. Maybe run an svn blame and see if it is something that is from the original SynEdit, or was added later (and if added later, then the commit should state why) ---------------------------------------------------------------------- Edson · 2014-06-05 05:06 Thanks Martin. It seems it have been there for a log time. I've been checking on SourceForge. Anyway, I'm trying to find other way for reference to the attributes. ---------------------------------------------------------------------- BigChimp · 2014-06-05 07:00 Quote from: Martin_fr on June 04, 2014, 10:17:00 pmrun an svn blame and see if it is something that is from the original SynEdit, or was added later (and if added later, then the commit should state why) Have you tried this? It gives the revision number in which that line was implemented. With svn log -r you get the commit message that goes with it... and with svn diff -r: you get the full diff/patch file of that commit. Disclaimer: typed the svn commands by heart; they may be slightly incorrect.