[Gambas-user] "search" and "search & replace" work on any file in project directory

Kevin Fishburne kevinfishburne at ...1887...
Sat Oct 11 04:16:05 CEST 2014


On 10/10/2014 02:22 PM, Benoît Minisini wrote:
> Le 10/10/2014 20:13, Benoît Minisini a écrit :
>> Le 10/10/2014 03:55, Kevin Fishburne a écrit :
>>> I have static game data in my project directory so it'll be contained
>>> within the compiled .gambas executable. When I use "Search" or "Search &
>>> Replace" it goes though Wavefront obj model files, wav files, etc.,
>>> which is a bit dangerous as well as slow. Perhaps GAMBAS should only
>>> perform these operations on files contained within the "Sources" section
>>> of the main project tree (the leftmost pane in the IDE), ignoring those
>>> in the "Project" and "Data" sections.
>>>
>> If it searches those files, this is because you explicitely asked to
>> browse the entire project. But I agree, at the moment the IDE is stupid,
>> as it should ignore non-text files...
>>
> Fixed in revision #6527.
>
> Normally only text files are browsed. It is just that the routine
> detecting if a file is text or binary cannot be 100% accurate.
>
> Regards,
>

Cool, thanks. Amazingly (or not) I just noticed there is a "Source 
files" option and I'd been choosing "All files".

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...1887...
phone: (770) 853-6271





More information about the User mailing list