Go To Using nn:p does not update the reading in the status bar

Started by Arthur, April 16, 2009, 09:11:49 PM

Previous topic - Next topic

Arthur

When I am using Go To nn:p option it does not update the reading in the status bar of HE (interactive mode used).

Another thing: if I have 70 lines and want to use the 90% option it does not let me enter the figure 90

+ if I command to go to say 6:4 the HE's status bar will show 6:3 and indeed it is on the third char!

Finally the last: upon relaunching the Go To it comes back showing only the first portion of my last search e.g. 6 and not 6:4, but if I drop the list down it does show it somewhere in the middle.

Stefan

Quote from: Arthur on April 16, 2009, 09:11:49 PM
Another thing: if I have 70 lines and want to use the 90% option it does not let me enter the figure 90

Perhaps this answers your question:
http://forum.hippoedit.com/index.php/topic,225.msg917.html#msg917
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

QuoteWhen I am using Go To nn:p option it does not update the reading in the status bar of HE (interactive mode used).
Limitation of modal dialog. Main frame does not get am Idle messages so position are not updated. This is standard behaviour on windows. Maybe whould be better to have it updated, but it is too much effort to solve comparing to benefits :)

QuoteAnother thing: if I have 70 lines and want to use the 90% option it does not let me enter the figure 90
Thanks Stefan. That is right.

Quote+ if I command to go to say 6:4 the HE's status bar will show 6:3 and indeed it is on the third char!
In my case, it shows line 6 pos 5, that is also bug :) Would be fixed.

QuoteFinally the last: upon relaunching the Go To it comes back showing only the first portion of my last search e.g. 6 and not 6:4, but if I drop the list down it does show it somewhere in the middle.
It is a bug
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

Quote from: alex on April 16, 2009, 10:47:18 PM
Limitation of modal dialog. Main frame does not get am Idle messages so position are not updated.

Perhaps you can simply share a variable or a segment in the memory?
Also perhaps you can pass the ref to main form into Go To's constructor?

alex

Yes. Everything is possible. But why?
If you use interactive than position in text should be equal to that you have typed.
If you do not use interactive positions is not changed until OK, and then dialog would be closed and status would be updated.
So now, you see even more information. Where your cursor was before ;)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]