Bug fixes and extension of State macro

0 views
Skip to first unread message

John Kopp

unread,
Apr 29, 2009, 6:45:48 PM4/29/09
to sem...@googlegroups.com
I've uploaded to the files section at:

http://groups.google.com/group/semware/files

a file named STATE.ZIP which contains STATE.s.

STATE.S is a revised State macro which fixes two bugs, one due to
spaces in filenames, the other, incorrect restoration of Binary
Mode files. The revision also adds save and restore of Browse Mode
state for each file.

John Kopp
Columbia, MD

John Kopp

unread,
May 1, 2009, 1:51:54 PM5/1/09
to sem...@googlegroups.com
I have been informed (thanks to Ross Boyd) that the revisions I
made to the State macro were not based on the latest version. I
therefore have replaced that file with a revised version of the
newer file. See "State_v1p4.zip" at:

http://groups.google.com/group/semware/files

A separate issue, though related to restoring editor state.
I had included this in the revision notes of the state.s file.

In the "WhenLoaded" procedure in tse.ui, execution of the
OneWindow() function causes loss of X offset when there is
only
one window. To fix that, add "and not CurrXOffset()" in that
procedure as follows.

if NumWindows() < 2 and not isZoomed()
and not CurrXOffset() // add this, jk
if NumFiles()
OneWindow()
endif
Process(1)
endif

John Kopp
Columbia, MD

Reply all
Reply to author
Forward
0 new messages