> > statusbar.text.1=\
> > li=$(LineNumber) of $(NbOfLines)  co=$(ColumnNumber) $(OverType) \
> > ($(EOLMode)) $(FileAttr) Sel: $(SelLength) $(CurrentTime)
> > 
> > All fields are displayed fine, except that the current time is not
> > displayed.
> > 
> > Replacing CurrentTime by CurrentDate also does not display the date.
> Some stats, like current date/time and currently edited file's date, 
> time and attributes, are updated less frequently than other 
> stats (like 
> current line/col), because it can be a slow operation.
> You can see it updated when switching buffers, for example.

Actually, no, I don't. Neither when switching buffers, nor when starting
up scite, so I think the bug must be something more fundamental.

> We probably can make it update on each keystroke, but in all 
> cases, this 
> won't be updated each second...

IMO the feature makes only sense in the status bar if it is updated
somehow 
accurate. So for example if the time is displayed to a granularity of 1
minute, 
it should be updated IMO every minute. This means that this would have
to be 
done by a separate thread. I think emacs does it that way if you
configure
it to display the time in the modeline.

> This code (setting these properties) was actually written for 
> printing 
> purpose, I used them because it was fun and cool, and as an 
> example, but 
> CurrentTime and CurrentDate has no practical use here, actually.

Main use would be if you have the editor open anyway all the time and
don't want to waste screen space by putting a clock there. But I admit
that acting as a clock is not the foremost task of a text editor.

Ronald
-- 
Ronald Fischer (phone +49-89-63676431)
mailto:[EMAIL PROTECTED]

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to