<p>Well, we already have the context action (<a href="https://geany.org/manual/#context-actions" rel="nofollow">https://geany.org/manual/#context-actions</a>) which can call arbitary commands on the current word.<br>
For an example, see <a href="https://wiki.geany.org/howtos/pydocw" rel="nofollow">https://wiki.geany.org/howtos/pydocw</a>. The script shows a little window with the Pyrhon documentation. In there you could also display any other information from your source.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2232?email_source=notifications&email_token=AAIOWJ4UC7E3DQHAYEBKOJLQCHWTVA5CNFSM4IHKBAR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3INEIA#issuecomment-517001760">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3XBIKTDA64JMH3T4TQCHWTVANCNFSM4IHKBARQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJYFJOUJKMHMOO7SAHTQCHWTVA5CNFSM4IHKBAR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3INEIA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2232?email_source=notifications\u0026email_token=AAIOWJ4UC7E3DQHAYEBKOJLQCHWTVA5CNFSM4IHKBAR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3INEIA#issuecomment-517001760",
"url": "https://github.com/geany/geany/issues/2232?email_source=notifications\u0026email_token=AAIOWJ4UC7E3DQHAYEBKOJLQCHWTVA5CNFSM4IHKBAR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3INEIA#issuecomment-517001760",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>