1
by tg
Initial revision |
1 |
/*
|
2 |
* Highlighted block functions
|
|
3 |
* Copyright
|
|
4 |
* (C) 1992 Joseph H. Allen
|
|
5 |
*
|
|
6 |
* This file is part of JOE (Joe's Own Editor)
|
|
7 |
*/
|
|
686
by tg
use more consistent header guards |
8 |
#ifndef JUPP_UBLOCK_H
|
9 |
#define JUPP_UBLOCK_H
|
|
1
by tg
Initial revision |
10 |
|
473
by tg
overhaul the way includes work; give jupp proper RCS IDs |
11 |
#ifdef EXTERN_CMD_C
|
686
by tg
use more consistent header guards |
12 |
__IDSTRING(rcsid_ublock_h, "$MirOS: contrib/code/jupp/ublock.h,v 1.6 2020/03/27 06:38:59 tg Exp $"); |
473
by tg
overhaul the way includes work; give jupp proper RCS IDs |
13 |
#endif
|
1
by tg
Initial revision |
14 |
|
15 |
extern int square; |
|
16 |
extern int lightoff; |
|
17 |
extern P *markb, *markk; |
|
18 |
||
517
by tg
begin overhaul for antique/header compat: |
19 |
void pinsrect(P *cur, B *tmp, long int width, int usetabs); |
20 |
int ptabrect(P *org, long int height, long int right); |
|
21 |
void pclrrect(P *org, long int height, long int right, int usetabs); |
|
22 |
void pdelrect(P *org, long int height, long int right); |
|
23 |
B *pextrect(P *org, long int height, long int right); |
|
24 |
int markv(int r); |
|
25 |
int umarkb(BW *bw); |
|
26 |
int umarkk(BW *bw); |
|
27 |
int uswap(BW *bw); |
|
28 |
int umarkl(BW *bw); |
|
29 |
int utomarkb(BW *bw); |
|
30 |
int utomarkk(BW *bw); |
|
31 |
int utomarkbk(BW *bw); |
|
32 |
int ublkdel(BW *bw); |
|
33 |
int upicokill(BW *bw); |
|
34 |
int ublkmove(BW *bw); |
|
35 |
int ublkcpy(BW *bw); |
|
36 |
int dowrite(BW *bw, unsigned char *s, void *object, int *notify); |
|
37 |
int doinsf(BW *bw, unsigned char *s, void *object, int *notify); |
|
38 |
void setindent(BW *bw); |
|
39 |
int urindent(BW *bw); |
|
40 |
int ulindent(BW *bw); |
|
41 |
int ufilt(BW *bw); |
|
42 |
int unmark(BW *bw); |
|
43 |
int udrop(BW *bw); |
|
44 |
int utoggle_marking(BW *bw); |
|
45 |
int ubegin_marking(BW *bw); |
|
46 |
int uselect(BW *bw); |
|
47 |
int upsh(BW *bw); |
|
48 |
int upop(BW *bw); |
|
49 |
int ulower(BW *bw); |
|
50 |
int uupper(BW *bw); |
|
1
by tg
Initial revision |
51 |
extern int nstack; |
52 |
||
53 |
#endif
|