Page 2 of 3

Posted: 21.08.2021 21:34
by LuNik700
Thank you very much...
... and if you could support mutiple occurences per line one day that would be great (and in fact would be the same as "Align comma separated columns in selected lines" with a choosable separator)

Again thank you for your super fast support and have a great weekend!

Posted: 21.08.2021 21:53
by uvviewsoft
My fork of plugin, with fixes for both cmds:
https://github.com/Alexey-T/cuda_ext

Uninstall old plugin, then do "plugins / addon manager / install from github".

Posted: 22.08.2021 00:23
by LuNik700
8-) Alexey, works as it should! Again thank you so much!!!!!

Posted: 24.08.2021 10:42
by LuNik700
Can someone pls tell me what the changes in version 1.734 are doing? Can figure it out ...
1.7.34 (2021-08-23)
added: New options for user.json:
"cuda_ext.<command>.menu.<style>": <value>
...
Thx
Ludger

Posted: 24.08.2021 10:54
by uvviewsoft

Posted: 03.09.2021 14:33
by LuNik700
Hi,
as written before I needed a way to align text at the right-most position of multiple carets. For my needs this is very comfortable when I work with multiple cursors.
I now implemented a command that offers this functionality.
For that I just extended the existing plugin cuda_ext. Are you interested to consider to integrate this into cuda_ext?
I'm not an experienced Python coder but it seems to work well and it has just a couple of lines of code.
Align_by_caret(1).png
Align_by_caret(1).png (8.35 KiB) Viewed 2875 times
Align_by_caret(2).png
Align_by_caret(2).png (11.15 KiB) Viewed 2875 times

Best regards
Ludger

Posted: 03.09.2021 14:35
by main Alexey
Yes, please post your code (the entire python file which is changed).

Posted: 03.09.2021 15:18
by LuNik700
... there are changes in
install.inf, __init__.py and cd_ext_find_repl.py. The command is implemented in cd_ext_find_repl.py

Please check the code as I'm not so familiar with python and the cudatext API. Perhaps you find things to be done in a better way ...

Please find the files attached. I add .txt cause file extension .py, .inf and .zip seem not to be supported ...

Best regards
Ludger

Posted: 03.09.2021 21:38
by main Alexey
I see some places can/must be changed a little (we will change them, don;'t worry); I posted the request to @kvichans on Github.

Posted: 04.09.2021 06:38
by main Alexey
Kvichans will be present in 2 weeks, let's wait.