Hi
Inspired by Enrico plugin wishlist and svn diff plugin, I decided to write git (http://git.or.cz/) diff plugin.
Plugin should works the following way:
On button click (Any idea is it possible to make shortcut to plugin?):
1) If no diff output tab create *GIT-DIFF* tab and place diff there 2) If *GIT-DIFF* already exists, update it's content to latest diff and give focus to it
Well it almost works, exept few things:
1) if I click GITdiff button 2 times and try to close *GIT-DIFF* geany will crash. If I comment geany_data->sci->set_text line it won't crash, Any idea what I am doing wrong?
2) How can I make tab active after I click GITdiff button? One of idea was always close previous *GIT-DIFF* and open new document. But if I try to use documents->remove with index It close tab with my program I want do make diff to instead of *GIT-DIFF*
Best regards, Yura Semashko