annotate runtime/print/prolog.ps @ 32531:c8b28054caec v9.0.1597

patch 9.0.1597: cursor ends up below the window after a put Commit: https://github.com/vim/vim/commit/8509014adda188ee8bdf6a2e123fbf15a91b29d2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 1 19:27:08 2023 +0100 patch 9.0.1597: cursor ends up below the window after a put Problem: Cursor ends up below the window after a put. Solution: Mark w_crow and w_botline invalid when changing the cursor line. (closes #12465)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Jun 2023 20:30:05 +0200
parents 631143ac4a01
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 %!PS-Adobe-3.0 Resource-ProcSet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 %%Title: VIM-Prolog
14
946da5994c01 updated for version 7.0006
vimboss
parents: 7
diff changeset
3 %%Version: 1.4 1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 %%EndComments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 % Editing of this file is NOT RECOMMENDED. You run a very good risk of causing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 % all PostScript printing from VIM failing if you do. PostScript is not called
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 % a write-only language for nothing!
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
8 /packedarray where not{userdict begin/setpacking/pop load def/currentpacking
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
9 false def end}{pop}ifelse/CP currentpacking def true setpacking
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 /bd{bind def}bind def/ld{load def}bd/ed{exch def}bd/d/def ld
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 /db{dict begin}bd/cde{currentdict end}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 /T true d/F false d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 /SO null d/sv{/SO save d}bd/re{SO restore}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 /L2 systemdict/languagelevel 2 copy known{get exec}{pop pop 1}ifelse 2 ge d
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
15 /m/moveto ld/s/show ld /ms{m s}bd /g/setgray ld/r/setrgbcolor ld/sp{showpage}bd
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
16 /gs/gsave ld/gr/grestore ld/cp/currentpoint ld
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 /ul{gs UW setlinewidth cp UO add 2 copy newpath m 3 1 roll add exch lineto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 stroke gr}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 /bg{gs r cp BO add 4 -2 roll rectfill gr}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 /sl{90 rotate 0 exch translate}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 L2{
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 /sspd{mark exch{setpagedevice}stopped cleartomark}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 /nc{1 db/NumCopies ed cde sspd}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 /sps{3 db/Orientation ed[3 1 roll]/PageSize ed/ImagingBBox null d cde sspd}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 /dt{2 db/Tumble ed/Duplex ed cde sspd}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 /c{1 db/Collate ed cde sspd}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 }{
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 /nc{/#copies ed}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 /sps{statusdict/setpage get exec}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 /dt{statusdict/settumble 2 copy known{get exec}{pop pop pop}ifelse
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 statusdict/setduplexmode 2 copy known{get exec}{pop pop pop}ifelse}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 /c{pop}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 }ifelse
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 /ffs{findfont exch scalefont d}bd/sf{setfont}bd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 /ref{1 db findfont dup maxlength dict/NFD ed{exch dup/FID ne{exch NFD 3 1 roll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 put}{pop pop}ifelse}forall/Encoding findresource dup length 256 eq{NFD/Encoding
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 3 -1 roll put}{pop}ifelse NFD dup/FontType get 3 ne{/CharStrings}{/CharProcs}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 ifelse 2 copy known{2 copy get dup maxlength dict copy[/questiondown/space]{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 copy known{2 copy get 2 index/.notdef 3 -1 roll put pop exit}if pop}forall put
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 }{pop pop}ifelse dup NFD/FontName 3 -1 roll put NFD definefont pop end}bd
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
41 CP setpacking
14
946da5994c01 updated for version 7.0006
vimboss
parents: 7
diff changeset
42 (\004)cvn{}bd
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 % vim:ff=unix:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 %%EOF