Hi,
I recently started using Geany and noticed that the file browser plugin lacks the ability to include multiple patterns into the filter. For example, I can't set the filter up so that the plugin displays *.cpp and *.h files, but not *.o files. I browsed through the code of the plugin and found out that it simply uses g_pattern_match. However, it's not too difficult to alter the code so that it supports multiple patterns. I would like to do that. Please let me know if this feature is needed. If it is, I'll start working on it.
Thanks!
Am Samstag, den 19.02.2011, 18:04 +0400 schrieb Grigory Javadyan:
Hi,
I recently started using Geany and noticed that the file browser plugin lacks the ability to include multiple patterns into the filter. For example, I can't set the filter up so that the plugin displays *.cpp and *.h files, but not *.o files. I browsed through the code of the plugin and found out that it simply uses g_pattern_match. However, it's not too difficult to alter the code so that it supports multiple patterns. I would like to do that. Please let me know if this feature is needed. If it is, I'll start working on it.
I'd appreciate such a feature, yep. :)
Attached is a patch that adds this functionality. Here's a screenshot: dl.dropbox.com/u/8936880/geany_filter.jpg https://dl.dropbox.com/u/8936880/geany_filter.jpgI also opened a ticket in the feature tracker on SourceForge.
Thanks
On Sat, Feb 19, 2011 at 7:27 PM, Dominic Hopf dmaphy@googlemail.com wrote:
Am Samstag, den 19.02.2011, 18:04 +0400 schrieb Grigory Javadyan:
Hi,
I recently started using Geany and noticed that the file browser plugin lacks the ability to include multiple patterns into the filter. For example, I can't set the filter up so that the plugin displays *.cpp and *.h files, but not *.o files. I browsed through the code of the plugin and found out that it simply uses g_pattern_match. However, it's not too difficult to alter the code so that it supports multiple patterns. I would like to do that. Please let me know if this feature is needed. If it is, I'll start working on it.
I'd appreciate such a feature, yep. :)
-- Dominic Hopf dmaphy@googlemail.com http://dominichopf.de/
Key Fingerprint: A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Forgot to mention the ticket ID is 3187047.
On Sat, Feb 19, 2011 at 11:27 PM, Grigory Javadyan grigory.javadyan@gmail.com wrote:
Attached is a patch that adds this functionality. Here's a screenshot: dl.dropbox.com/u/8936880/geany_filter.jpg I also opened a ticket in the feature tracker on SourceForge. Thanks
On Sat, Feb 19, 2011 at 7:27 PM, Dominic Hopf dmaphy@googlemail.com wrote:
Am Samstag, den 19.02.2011, 18:04 +0400 schrieb Grigory Javadyan:
Hi,
I recently started using Geany and noticed that the file browser plugin lacks the ability to include multiple patterns into the filter. For example, I can't set the filter up so that the plugin displays *.cpp and *.h files, but not *.o files. I browsed through the code of the plugin and found out that it simply uses g_pattern_match. However, it's not too difficult to alter the code so that it supports multiple patterns. I would like to do that. Please let me know if this feature is needed. If it is, I'll start working on it.
I'd appreciate such a feature, yep. :)
-- Dominic Hopf dmaphy@googlemail.com http://dominichopf.de/
Key Fingerprint: A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Sat, 19 Feb 2011 23:27:24 +0400, Grigory wrote:
Attached is a patch that adds this functionality. Here's a screenshot: dl.dropbox.com/u/8936880/geany_filter.jpg https://dl.dropbox.com/u/8936880/geany_filter.jpgI also opened a ticket in the feature tracker on SourceForge.
Thanks for the patch. Committed with small changes.
Regards, Enrico
Thanks, Enrico!
2011/2/21 Enrico Tröger enrico.troeger@uvena.de:
On Sat, 19 Feb 2011 23:27:24 +0400, Grigory wrote:
Attached is a patch that adds this functionality. Here's a screenshot: dl.dropbox.com/u/8936880/geany_filter.jpg https://dl.dropbox.com/u/8936880/geany_filter.jpgI also opened a ticket in the feature tracker on SourceForge.
Thanks for the patch. Committed with small changes.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel