AmendHub

Download:

jcs

/

amend

/

amendments

/

19

tetab: Simplify example usage


jcs made amendment 19 over 2 years ago
--- tetab.c Thu Oct 21 17:10:02 2021 +++ tetab.c Sat Oct 23 22:42:50 2021 @@ -29,12 +29,7 @@ * [..] * your_te = TEStylNew(&bounds, &bounds); * TEAutoView(true, te); - * teproc = StripAddress(TETabDrawHook); - * TECustomHook(intDrawHook, &teproc, te); - * teproc = StripAddress(TETabWidthHook); - * TECustomHook(intWidthHook, &teproc, te); - * teproc = StripAddress(TETabHitTestHook); - * TECustomHook(intHitTestHook, &teproc, te); + * TETabEnable(te); * * The tab width is set to 4 by default in the TETabWidth global. *