Page 1 of 1
Fill marked down, up, left, right
Posted: Sun Jul 05, 2009 4:31 pm
by petar12345
Can You make Edit function FIll.
Fill down:
It will fill character from first line to down in marked area.
Fill right:
It will fil character from left column to right in marked area.
....
Posted: Mon Jul 06, 2009 12:11 am
by jussij
Hi Petar,
Can You make Edit function FIll.
Since Zeus is fully scriptable functions like these a very easy to write as a macro script
The scripting functions that you will need to use are these:
- get_marked_top
- get_marked_bottom
- get_marked_left
- get_marked_right
For more information about these functions place the cursor on the function name and use the Zeus
Help, Quick Help Current Word menu or open the Zeus help file and search the index for the function name.
A good example for something like this would be the
numbers.lua macro found in the
zScript folder.
This macro fills a marked area with incrementing numbers, so for example try running this function with a marked area defined.
There are also plenty of other scripting examples in the zScript folder
Cheers Jussi
Posted: Mon Jul 06, 2009 8:16 pm
by petar12345
Hi.
jussij wrote:
A good example for something like this would be the numbers.lua macro found in the zScript folder.
Your suggestion help me a lot.
Thank You for answer.