kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #34501
Re: Reference string sort?
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 <jeff@xxxxxxxxx> wrote:
>
> Perfect. Thanks, Simon.
>
>
>
>> On 28 Feb 2018, at 07:09, Simon Richter <Simon.Richter@xxxxxxxxxx> 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 : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
References