Textmate on the Mac can be bound to the txmt protocol, meaning that development frameworks (such as the Play Framework) can be configured to use this to display error messages. If a stacktrace appears, each line of the stacktrace is a URL of the format (I'm guessing):
(where 123 is the line number).
Clicking this opens the file in Textmate.
Is this possible with Gedit, Geany or another programmer's text editor?