Artifact 05803245255301819f388d71048d2bd7a8a881ebf6a6e3f2077fbc24787696eb:
- File
psl-1983/emode/window.sl
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 913) [annotate] [blame] [check-ins using] [more...]
% % Window.SL - Individual Window Manipulation Functions % % Author: Alan Snyder % Hewlett-Packard/CRC % Date: 20 July 1982 % % This file contains functions that manipulate individual windows. % It is intended that someday EMODE will be reorganized % so that all such functions will eventually be in this file. % % This file requires COMMON. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (fluid '(CurrentWindowDelta TopOfDisplayIndex)) (de current-window-height () % Return the number of rows in the current window. (+ (Row CurrentWindowDelta) 1) ) (de current-window-top-line () % Return the index of the buffer line at the top of the current window. TopOfDisplayIndex ) (de current-window-set-top-line (new-top-line) % Change which buffer line displays at the top of the current window. (setf TopOfDisplayIndex new-top-line) )