techee/geany-patches — comment on commit ffea8fe85c67e58e89535bfa4b9e7a045596eefd
File:  line 0
By techee:

It's meant to open a system include file by right-clicking it and selecting "Open selected file". So for instance if you right-click an include like

#include

now, it won't get opened but after my patch it opens just fine because the standard system include files are searched. This is the last check so if you have some files with the same name in the current directory, everything will work as before.

The include paths are a bit C-specific but I don't think patch will cause any troubles with other languages - the "worst" thing that could happen is that some file from the include path gets opened but if you have a string "stdlib.h" in your Python script and try to open it, this is what you probably want anyway.

I could add a check for the current document's file type but I think it's not needed too much.