<p></p>
<ol dir="auto">
<li>Yes</li>
<li>only when opening a file, to open at a position, but a plugin does not need to send commands since it can call the appropriate Geany positioning function.</li>
<li>I would have thought the complication is communication between the plugin and the viewer.  Since the viewers seem to expect to execute commands to communicate with the editor there will probably need to be an executable that the viewer can execute with appropriate arguments, and which then communicates those arguments to the plugin which calls the Geany positioning function.  "Interesting" problems include what communication method to use including its portability to Windows and Macos and making sure the plugin does not block Geany when waiting for a communication.</li>
</ol>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/3146#issuecomment-1093634160">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3OVCZPHBT4XURQQQTVEDZRNANCNFSM5SK4UAVA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ25IYORE2H7KTBCUSDVEDZRNA5CNFSM5SK4UAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIEXYQ4A.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/issues/3146/1093634160</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/3146#issuecomment-1093634160",
"url": "https://github.com/geany/geany/issues/3146#issuecomment-1093634160",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>