No bugs... so let's turn to a suggestion

Post Reply
tmsg
Posts: 120
Joined: 20.05.2020 12:08

No bugs... so let's turn to a suggestion

Post by tmsg »

I can't resist :D

I have one simple suggestion for the editor (ie not as a plugin) that's pretty straightforward: create a command Edit>>Blank operations>>Convert spaces (leading) to tabs... the difference to the already existing command being that this command asks for the number of spaces per tab. The existing command is fine for my own files but when I want to change files from other people it could 4 or 8 or any other number of spaces per tab. I've done that now myself as a plugin but I think it would be good function to include in the editor itself.

And there's question as well... how difficult would it be to change the Macros plugin so that the defined Macros can be displayed in a tree (or menu) structure, ie group them? It would make keeping track of macros easier if I could group them.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

1) You can just click statusbar and change tab-width, then current cmd works!
2) useful plugin: Detect Indent
2b) and: Colored Indent
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Again... good to know! 8-)

There are many things the Wiki doesn't tell... and this is not at all meant as criticism: I think compared to many other FOSS projects I've seen Cud has pretty solid docs :o
User avatar
kvichans
Posts: 203
Joined: 07.10.2012 05:45

Post by kvichans »

> Macros can be displayed in a tree... group them...
Now: no plans.

Do you know that you can call any macro from the "Command palette" (F1)? It is great!
CudaText 1.163, TC9.51x32, Win10x64(1920x1080)
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

kvichans wrote:> Macros can be displayed in a tree... group them...
Now: no plans.
Well, I wasn't after a change as such, I rather wanted to get some rough ideas about the best/easiest way to do that.
kvichans wrote:Do you know that you can call any macro from the "Command palette" (F1)?
I do.

Actually I call quite a few macros via keyboard shortcuts and one reason for my question was that I don't need (and don't want) to see these macros in the Macros dialog listbox.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

>There are many things the Wiki doesn't tell...
you can write here- new wiki topic- e.g. "Tips to work with indentation", with all useful tips.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

ideas about the best/easiest way to do that.
Macros dlg has "listbox" control on the left. you can replace it to "treeview" control. to work with it, use tree_proc(), it can add sub-nodes, can fold/unfold.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Thanks @Alexey, that may be what I was looking for.

Actually, I will soon be off to my "dacha" in the mountains... no great Internet connection there (sometimes it works but often it's just horrible :( ). So certainly some stuff for thought...

And you probably won't see a lot in the way of suggestions (or even bugs) for a while because when I am in the mountains I tend to hike and climb the whole day long... weather permitting of course. So if you hear something it means there's bad weather :lol: :lol:
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

When it's bad connection, I can do offline coding, much code, and dump it to GH later..

PS. if you find N bugs, please post as N posts to GH, not single one. be careful at climbing..
Post Reply