Searching within Inkscape
I have been trying to work on searching algorithms within real-life code and am looking for a project in which to implement them. Inkscape seems like great project, so I was wondering if anyone had any need to search through objects within Inkscape and if this process needs to be optimized. Any and all feedback would be greatly appreciated. Thanks!
- We have a Find dialog (ctrl+f) which works but is pretty clunky. If you can improve it in any way, that will be great help. One feature which is often requested is: search and select all objects that have the same fill/stroke/whatever as the currently selected object. Let me know if you need any help with your work. Bbb 22:40, 13 November 2007 (UTC)
- Thanks so much for the tip. Another question: sorry if this is documented somewhere, but I couldn't seem to find it... I was looking at the Find dialog implementation code and I understand that, but where is this dialog being called from during program execution? The dialog compares a passed SPItem, where is this item coming from and where is it stored? Sorry for all the questions... Ahentznd09 02:37, 15 November 2007 (UTC)
- The dialog itself does not get any item passed. The search is done in sp_find_dialog_find. This function first gets the list of all items in selection or in document (depending on options set) and then just filters this list through all the various search fields using filter_list(). I think you should better post your questions to the devel list, it's more convenient for communication than wiki :) Bbb 19:34, 15 November 2007 (UTC)