Tartarus CVS: zap: christian

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Sun, 20 Apr 2003 15:55:57 +0100


CVS Root:       /home/cvs
Module:         zap
Changes by:     christian
Date:           Sun Apr 20 2003  15:55:57 BST

Log message:
Add Nemo's variable-width Tab stop code / string processor, and link it
in to Zap.
New e_tabstops has 16bits per column containing the number of columns until
the next tabstop. w_tabstring contains the current tabstop string / 0.
e_interrogate #26 is called to determine whether a mode supports variable
tabstops, and whether it references w_tabstops (as Mode 0's e_cln* routines
do - these get fixed 8 column wide tabs by default. Mode 1 etc provide their
own cln routines so don't get w_tabstops at all).
New command TABSTOPS sets the tabstop string for the current window.
New Settings variable &324 specifies the default tabstop string, defaulting
to 8* if not present.

Modified files:
    sources/!ZapSource/h: 2.10 ZapHeader 2.13 ZapVars 2.5 ZapLibrary
                      ZapConsts
    sources/!ZapSource/s: 2.1 Commands 2.11 ModeBits 2.12 Dispatch
                      2.13 Mode1+2 2.21 Mode0 2.21 SoftWrap
                      2.33 CreateWind 2.4 Mode4 2.5 KeyBits 2.8 Mode3
Removed files:
    sources/!ZapSource/s: TabStops

Links:
http://cvs.tartarus.org//zap/sources/%21ZapSource/h/2.10%20ZapHeader.diff?r1=fff&r2=2.4
http://cvs.tartarus.org//zap/sources/%21ZapSource/h/2.13%20ZapVars.diff?r1=fff&r2=2.14
http://cvs.tartarus.org//zap/sources/%21ZapSource/h/2.5%20ZapLibrary.diff?r1=fff&r2=2.12
http://cvs.tartarus.org//zap/sources/%21ZapSource/h/ZapConsts.diff?r1=fff&r2=2.9
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.1%20Commands.diff?r1=fff&r2=2.32
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.11%20ModeBits.diff?r1=fff&r2=2.20
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.12%20Dispatch.diff?r1=fff&r2=2.4
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.13%20Mode1%2B2.diff?r1=fff&r2=2.7
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.21%20Mode0.diff?r1=fff&r2=2.12
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.21%20SoftWrap.diff?r1=fff&r2=2.3
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.33%20CreateWind.diff?r1=fff&r2=2.11
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.4%20Mode4.diff?r1=fff&r2=2.10
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.5%20KeyBits.diff?r1=fff&r2=2.20
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/2.8%20Mode3.diff?r1=fff&r2=2.3
http://cvs.tartarus.org//zap/sources/%21ZapSource/s/TabStops