Page 1 of 1

CudaExt Commands

Posted: 19.08.2017 22:34
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?

Posted: 20.08.2017 04:39
by Alexey
WOrking lines == any non default state of lines

Posted: 22.08.2017 06:40
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.

Posted: 22.08.2017 20:27
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. ;)

Posted: 22.08.2017 21:18
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

Posted: 22.08.2017 22:00
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.

Posted: 23.08.2017 07:12
by kvichans
Yes, bug.
Plugin is fixed. Update your version.

Posted: 23.08.2017 21:37
by qwerky
Confirm fixed. Thank you. 8-)