On 1/11/2011 11:51:08 AM, Scott Lambert wrote:
>
>
>"My preference would be to do
>the underlining all at once. I
>believe this is that Pauli's
>aspell.vdm does."
>
>I believe that would be too
>slow, as Scribe would have to
>find and highlight all
>mis-spelled words first. The
>current method allows the user
>to see progress as Scribe
>works thru the file.
>
>"So, I would also appreciate
>seeing the cursor positions on
>the Statline."
>
>When Scribe is working, Vedit
>likes to have "Waiting for
>disk or CTRL C" on the
>statline, so you would never
>see any message about file
>position. I am unsure if you
>mean the file position of each
>word as it is being worked on
>or just the current
>mis-spelled word.
Scott,
This was a vague question on my part. It was based on my memory of my first spell checker, which was put out by the Dutch User Gruop, 4tex.
It was slow and it did change the current file screen. However, it ha a nice feature: Specifially, it displayed numbers on the lower left corner of the screen. So, when the numbers started to increase fast, I had the feeling that I am making good progress.
I thought that you can ask Vedit to perform anything related to spell checking, in particular this item.
Now, to be a little more specific, I did some experiments.
First I did verify that the arguments of Statline_Message( )
do take test registers. Like,
Reg_Set(10,Hello)
Statline_Message("|@(10)")
Second, I verified that I can put the cursor position into a numeric register. Like,
#10=Cur_Pos
#10
Third, I take that I would have to convert the number in N-reg %10 into a string. I just do not know how to do it.
Could you help me with this one ?
Then I would like display this string on the status line.
Does this sound reasonable ?
Thanks as always.
-peter
|
|