← Back to team overview

kicad-developers team mailing list archive

Re: Are the python BOMmers case sensitive?

 

On Thu, Sep 19, 2013 at 11:52:51AM -0500, Dick Hollenbeck wrote:
> int StrICmpAndFix( wxString* aFixable, const wxString& aOther )
> {
> 	if match on case insenstive
> 	{
> 		if not match on case sensitive
> 			*aFixable = aOther
> 	}
> }

That would work for UI too... I type dspic, it matches dsPIC and
*returns* dsPIC. Seems the same way the Windows file system works, so
the one-file-one-object system would work.
However care should be taken avoiding in the library different objects
with different capitalization, to avoid a) user confusion and b)
conflicts during load (sufficiently easy, I think)

-- 
Lorenzo Marcantonio
Logos Srl


References