And, while looking for a good place to move the Fields Editor Table Model one to, I discovered
RefDesStringCompare(...) in common/strings.cpp Cheers, Jeff. > On 28 Feb 2018, at 10:40, Jeff Young <[email protected]> wrote: > > Perfect. Thanks, Simon. > > > >> On 28 Feb 2018, at 07:09, Simon Richter <[email protected]> wrote: >> >> Hi, >> >> On 28.02.2018 02:07, Jeff Young wrote: >> >>> Is there a compare function somewhere for reference sorting? >> >> There are several. I've written one for the pin table, found in >> eeschema/pin_number.{cpp,h}, and there is also one in the fields editor >> table model (eeschema/fields_editor_table_model.cpp). I believe there >> are others, I also dimly remember a freestanding function somewhere. >> >> Simon >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

