<div dir="ltr"><div>Heh, it was implemented as a Python plugin in KDE4 :(</div><div><br></div><div>I hope someday KF5 would gain Python support again...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 23, 2020 at 9:19 PM Christoph Cullmann <<a href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2020-05-22 13:21, Fischer, Knut wrote:<br>
> Hi,<br>
> <br>
> Is it possible to create/implement a functionality “open selected”<br>
> for kate?<br>
> <br>
> E.g.<br>
> <br>
> If in a text file a full path to a different file is defined, it<br>
> should be opened when selected and using the functionality.<br>
> <br>
> Please help😊<br>
Hi,<br>
<br>
sounds like a good extension.<br>
<br>
Should be "easy" to implement inside the KTextEditor library.<br>
<br>
One just needs to add an extra element to the context menu for this that<br>
then will trigger openUrl of the KTextEditor::Application if existing<br>
to signal the application like Kate to open the file.<br>
<br>
Are you interested in give such an extension a shot?<br>
<br>
Greetings<br>
Christoph<br>
<br>
-- <br>
Ignorance is bliss...<br>
<a href="https://cullmann.io" rel="noreferrer" target="_blank">https://cullmann.io</a> | <a href="https://kate-editor.org" rel="noreferrer" target="_blank">https://kate-editor.org</a><br>
</blockquote></div>