[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Kate Missing "open selected" function
From:       Alex Turbov <i.zaufi () gmail ! com>
Date:       2020-05-23 15:03:20
Message-ID: CANktQttVkVkJ7PzgtwLYwwvoSQp7E+=KM1XCz+02jfYGyk249Q () mail ! gmail ! com
[Download RAW message or body]

Heh, it was implemented as a Python plugin in KDE4 :(

I hope someday KF5 would gain Python support again...

On Sat, May 23, 2020 at 9:19 PM Christoph Cullmann <christoph@cullmann.io>
wrote:

> On 2020-05-22 13:21, Fischer, Knut wrote:
> > Hi,
> >
> > Is it possible to create/implement a functionality "open selected"
> > for kate?
> >
> > E.g.
> >
> > If in a text file a full path to a different file is defined, it
> > should be opened when selected and using the functionality.
> >
> > Please help😊
> Hi,
>
> sounds like a good extension.
>
> Should be "easy" to implement inside the KTextEditor library.
>
> One just needs to add an extra element to the context menu for this that
> then will trigger openUrl of the KTextEditor::Application if existing
> to signal the application like Kate to open the file.
>
> Are you interested in give such an extension a shot?
>
> Greetings
> Christoph
>
> --
> Ignorance is bliss...
> https://cullmann.io | https://kate-editor.org
>

[Attachment #3 (text/html)]

<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 &lt;<a \
href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>&gt; \
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> &gt; Hi,<br>
&gt; <br>
&gt; Is it possible to create/implement a functionality "open selected"<br>
&gt; for kate?<br>
&gt; <br>
&gt; E.g.<br>
&gt; <br>
&gt; If in a text file a full path to a different file is defined, it<br>
&gt; should be opened when selected and using the functionality.<br>
&gt; <br>
&gt; Please help😊<br>
Hi,<br>
<br>
sounds like a good extension.<br>
<br>
Should be &quot;easy&quot; 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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic