<div dir="ltr"><div>Hi Kåre,</div><div><br></div><div>I found this configuration but looks like there is no such option available</div><div><br></div><div></div><div><img src="cid:ii_lyf0n71j0" alt="image.png" style="margin-right: 0px;"><br></div><div><br></div><div><div><br></div><div>And this option here I think reloads the file but has no effect on the keyboard focus, that remains on the output window.<br></div><div><img src="cid:ii_lyf122ib1" alt="image.png" width="292" height="32"></div><div><br></div></div><div>That's why I was thinking about modifying Kate to have that.</div><div></div><div><br></div><div></div><div>Let me know if I'm wrong and actually the setting is somewhere else.</div><div><br></div><div>Thanks!</div><div><br></div><div>Luca<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mar 9 lug 2024 alle ore 06:36 Kåre Särs <<a href="mailto:kare.sars@mailbox.org">kare.sars@mailbox.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Luca,<br>
<br>
On Tuesday, 9 July 2024 03.52.57 EEST disquisitiones wrote:<br>
> Hi Christoph,<br>
> <br>
> thanks for your feedback, good to know that these features can be also of<br>
> interest for the project.<br>
> <br>
> I can start to dig in and see what is possible, I will open three different<br>
> threads in the mailing list for the points I've mentioned<br>
> probably starting with the easiest one, point 2). My idea there is not<br>
> really related with the interaction with errors and warnings<br>
> (which would be point 3) rather with the possibility of observing the<br>
> possible generated standard output while coding but trying to minimize<br>
> as much as possible the interruption of the flow allowing for a smooth<br>
> cycle of coding => compiling => standard output check => coding without<br>
> ever the need of leaving the keyboard.<br>
<br>
I think you can disable the focus-compile-output of the Build & Run plugin.<br>
When the plugin is enabled there should be a config page for it and there you <br>
can un-check the "Automatically switch to output pane....."<br>
<br>
Regards,<br>
Kåre<br>
<br>
> <br>
> Thanks and kind regards,<br>
> <br>
> Luca<br>
> <br>
> Il giorno dom 7 lug 2024 alle ore 10:54 <<a href="mailto:christoph@cullmann.io" target="_blank">christoph@cullmann.io</a>> ha scritto:<br>
> > On 2024-07-07 03:38, disquisitiones wrote:<br>
> > > Hello Christoph,<br>
> > <br>
> > Hi,<br>
> > <br>
> > > no I've just started knowing Kate and I really like it (after<br>
> > > frustration with so many other editors i tried), but I would like to<br>
> > > modify it<br>
> > > for introducing some features I would love to have, for example:<br>
> > > <br>
> > > 1) Implement smooth scrolling<br>
> > <br>
> > That is an often wished feature, if there is some reasonable way to<br>
> > implement,<br>
> > such a feature would be welcome upstream.<br>
> > <br>
> > > 2) When running an external tool like "Compile and Run cpp" with a<br>
> > > keyboard shortcut, maintain the keyboard focus in the editor window.In<br>
> > > my understanding currently it is not possible and to continue working<br>
> > > on the code it is necessary to bring the mouse and click in the window<br>
> > > to regain focus on it,<br>
> > > honestly I find this inconvenient.<br>
> > > <br>
> > > 3) When running an external tool like "Compile and Run cpp", have the<br>
> > > possible errors and warnings detected directly represented in the<br>
> > > editor window<br>
> > > at the corresponding locations, with keyboard shortcuts available for<br>
> > > navigating among them, see this hypothetical mockup:<br>
> > > <br>
> > > Would be possible to draw arbitrary graphics in the window, like<br>
> > > rectangles with rounded corners and triangles for precisely pointing<br>
> > > to the locations?<br>
> > > And to create space between the lines to make space for these<br>
> > > graphical elements?<br>
> > <br>
> > At the moment we only have inline notes that allow to add stuff inside<br>
> > lines.<br>
> > I think this needs extensions in KTextEditor.<br>
> > It would have a use case for LSP things, too.<br>
> > <br>
> > > Let me know your opinion on the feasibility of these features, and in<br>
> > > case there is interest in them, I would be more than happy to<br>
> > > contribute to the project.<br>
> > <br>
> > I like the idea of having smooth scrolling and the better showing of<br>
> > inline information.<br>
> > <br>
> > I think both will take some large amount of work, or at least some<br>
> > clever approach to it,<br>
> > but I think they would we very useful for a lot of people.<br>
> > <br>
> > Greetings<br>
> > Christoph<br>
> > <br>
> > > Thanks for your attention and best regards,<br>
> > > <br>
> > > Luca<br>
> > > <br>
> > > Il giorno ven 5 lug 2024 alle ore 14:22 <<a href="mailto:christoph@cullmann.io" target="_blank">christoph@cullmann.io</a>> ha<br>
> > > <br>
> > > scritto:<br>
> > >> On 2024-07-05 09:52, Kåre Särs wrote:<br>
> > >>> Hello Luca,<br>
> > <br>
> > >>> That particular UI element is in KTextEditor:<br>
> > <a href="https://invent.kde.org/frameworks/ktexteditor/-/blob/master/src/view/katev" rel="noreferrer" target="_blank">https://invent.kde.org/frameworks/ktexteditor/-/blob/master/src/view/katev</a><br>
> > iewhelpers.cpp?ref_type=heads#L332> <br>
> > >>> Br,<br>
> > >>> Kåre<br>
> > >>> <br>
> > >>> On fredag 5 juli 2024 08:43:24 EEST disquisitiones wrote:<br>
> > >>>> Hello,<br>
> > >>>> <br>
> > >>>> I'm building a custom version of the Kate editor modifying the<br>
> > >> <br>
> > >> source<br>
> > >> <br>
> > >>>> code.<br>
> > >>>> <br>
> > >>>> Could you indicate the section of the Kate source code that is<br>
> > >>>> responsible<br>
> > >>>> for the display of this graphical element<br>
> > >>>> that shows the range of the lines when the scrollbar is moved?<br>
> > >> <br>
> > >> Hi,<br>
> > >> <br>
> > >> just out of interest, is that custom version available online<br>
> > >> and might it make sense to upstream some alterations?<br>
> > >> <br>
> > >> Greetings<br>
> > >> Christoph<br>
> > >> <br>
> > >>>> [image: image.png]<br>
> > >>>> <br>
> > >>>> Many thanks,<br>
> > >>>> <br>
> > >>>> Luca Rocca<br>
<br>
<br>
<br>
<br>
</blockquote></div>