CudaExt Commands

Plugins for SynWrite and CudaText...
Post Reply
qwerky
Posts: 172
Joined: 21.10.2013 00:58

CudaExt Commands

Post by qwerky »

Hi Andrey, questions about commands in CudaExt plugin:

Previous/Next changed/saved lines is obvious, but what is working lines?

What does Reindent Selected Lines do?

In the readme there is no mention of MarkAll/CountAll/FindFirst(w/o dialog)/FindPrevious(w/o dialog)/FindNext(w/o dialog)/Replace&Find(w/o dialog)/Replace&Stay(w/o dialog)/ReplaceAll(w/o dialog). The functions are obvious, but what is the source/target? Is it the word under the cursor, or the current selection, or the clipboard contents, or something else?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

WOrking lines == any non default state of lines
User avatar
kvichans
Posts: 203
Joined: 07.10.2012 05:45

Post by kvichans »

1. "Reindent Selected Lines" changes count of heading spaces into selected lines.
Can you propose more clear name for the command?

2. "MarkAll/CountAll/FindFirst(w/o dialog)/FindPrevious(w/o dialog)/FindNext(w/o dialog)/Replace&Find(w/o dialog)/Replace&Stay(w/o dialog)/ReplaceAll(w/o dialog)"
All these names are commented in install.inf. The commands were planed but not released yet.
CudaText 1.163, TC9.51x32, Win10x64(1920x1080)
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Post by qwerky »

Alexey wrote:WOrking lines == any non default state of lines
Thank you.
kvichans wrote:1. "Reindent Selected Lines" changes count of heading spaces into selected lines.
Can you propose more clear name for the command?
The name is fine, but the command doesn't seem to do anything. The dialog box gives the examples "2b", ".." and "t", but when I use any of those, or "4b" or other, nothing changes. It is as though the command just doesn't do anything (using 64-bit version, if that makes any difference.)
2. "MarkAll/CountAll/FindFirst(w/o dialog)/FindPrevious(w/o dialog)/FindNext(w/o dialog)/Replace&Find(w/o dialog)/Replace&Stay(w/o dialog)/ReplaceAll(w/o dialog)"
All these names are commented in install.inf. The commands were planed but not released yet.
Ah, yes, sorry. These aren't active yet. ;)
User avatar
kvichans
Posts: 203
Joined: 07.10.2012 05:45

Post by kvichans »

qwerky wrote:
kvichans wrote:1. "Reindent Selected Lines" changes count of heading spaces into selected lines.
Can you propose more clear name for the command?
The name is fine, but the command doesn't seem to do anything. The dialog box gives the examples "2b", ".." and "t", but when I use any of those, or "4b" or other, nothing changes. It is as though the command just doesn't do anything (using 64-bit version, if that makes any difference.)
Pls more details
CudaText 1.163, TC9.51x32, Win10x64(1920x1080)
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Post by qwerky »

kvichans wrote:Pls more details
Okay, now it make sense what it is supposed to do--you must enter the current indent step, and the replacement step. However, it seems to have a problem:
1. Have three lines selected, have tab stops set to two spaces, and to use spaces
2. Indent the selected lines twice (four spaces)
3. Reindent: set old step to 2b, set new step to either t (tab), or 4b, then enter
Result: the existing four spaces are changed to two tabs (correct), or to eight spaces (correct), but the first character of each line has been deleted. Use Undo, and the first character of each line reappears.
User avatar
kvichans
Posts: 203
Joined: 07.10.2012 05:45

Post by kvichans »

Yes, bug.
Plugin is fixed. Update your version.
CudaText 1.163, TC9.51x32, Win10x64(1920x1080)
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Post by qwerky »

Confirm fixed. Thank you. 8-)
Post Reply