<div dir="ltr"><div>Dear Kate folk</div><div><br></div><div>Would you tell me where I should stick scripts when attempting to extend Kate?</div><div><br></div><div><div>The section of the Katepart Handbook that concerns extending
it, 'Scripting with JavaScript', instructs the reader to save his first example script in a folder $XDG_DATA_HOME/katepart5/script/indentation, with $XDG_DATA_HOME pointing to either ~/.local or ~/.local/share.</div><div><br></div><div>But my implementation has no XDG_DATA_HOME and neither a katepart5/script/indentation or a katepart5/script/ in either ~/.local or ~/.local/share.<br></div><div><br></div>There are four script folders that I can see:<br><div><br></div><div>/snap/kde-frameworks-5-core18/32/usr/share/katepart5/script<br>/snap/kde-frameworks-5-core18/30/usr/share/katepart5/script</div><div>/snap/kde-frameworks-5/27/usr/share/katepart5/script/<br>/usr/share/katepart5/script/</div><div><br></div><div>The
first two of these each contain nothing but a blank readme.md file. The
last two each contains a libraries folder with a single identical file
called underscore.js.</div><div><br></div><div>I do also have a kate folder like the one described in the manual, in my home directory:<br></div><div><br></div><div>~/.local/share/kate/<br></div><div><br></div><div>That
contains only a session folder.</div><div><br></div>Would you be kind enough to save me from tangling in knot weeds from the off, when attempting to adapt your excellent text editor, by telling me where I should put the example?<br></div><div><br></div><div>Yrs<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="margin-top:0.1cm;margin-bottom:0.1cm;line-height:120%"><span><br></span></p><span></span></div><div>
<p style="margin-bottom:0cm;line-height:120%">
</p><p style="margin-bottom:0cm;line-height:100%">
</p>
</div></div><div>mjb.<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>