Re: Text wrapping Python docstrings

Yannick Gingras <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
On Wed, 2022-02-02 at 11:11 +0500, Waqar Ahmed wrote:
> I don't think there is an easy way atm, but maybe you can use the
> "script" api to write a script that adjust the indent for you?

My javascript is not really good, but it would be really easy for me to
do a Python command line and to pass the fragment to "filter through
command". Is there a way I could bind that to a keyboard shortcut?
Let's say rebind ALT-W to "filter throught re-fill.py" without opening
the command prompt?

-- 
Yannick Gingras
http://ygingras.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEQBAbmQFumbsYmkRfiKQ8CLil3UMFAmH6JisACgkQiKQ8CLil
3UNjuAv+LuFRzUyouVs6rTBeAJIIrolzPFepLoYJSj6pHQsYUAfz0sDiWoc6d3zI
ZjE4K4hMzMT3fHyiaeBuNCNelAXQvjOVywbd8IH97OiIf3ANfHfGQSYwV4T4jkKN
O28uY0hRtMw8oxkLdfxZcPTd4LQyxhzQQHXjmVpjZEQd1pK/AMEmWxfOIHJcL2VZ
eKjwr4nehLJsL3oG31CzA7XblfPdEWqyalS0ElIKli8O9/DrsEqitdEV3hcgeSfb
CRUO6hMNHJj8UwzOqNgK8daMncvgZxC7ybKQypHP4HikxMCD+SPWkrGHJKhwrzO0
FacKk/wmGK21uPbj3F1KoVMeYK/ar3sGPmHYEyXy1biufCEIf70SpNTvGhai6+HZ
HJdmR0hg5cTy3DorClV1kOp1Hz3JZ5THshKz4IUhypTeLdInTOJEFJIe1LYwpUpu
NKZN0dAaXL8ogQq9MHXZw1NgFf4HnKElf3J5hGWKMpMw1PNYSl6FHFJTbHdx+XgV
9FS0rpP/
=NwTn
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.