annotate src/line-number.h @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents 78478c60bfcd
children 74fd4e045ea6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
211
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
1 /* Copyright (C) 1997, Free Software Foundation, Inc.
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
2
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
3 This file is part of XEmacs.
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
4
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
5 XEmacs is free software; you can redistribute it and/or modify it
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
6 under the terms of the GNU General Public License as published by the
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
7 Free Software Foundation; either version 2, or (at your option) any
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
8 later version.
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
9
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
10 XEmacs is distributed in the hope that it will be useful, but WITHOUT
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
13 for more details.
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
14
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
15 You should have received a copy of the GNU General Public License
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
16 along with XEmacs; see the file COPYING. If not, write to
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
18 Boston, MA 02111-1307, USA. */
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
19
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
20 /* Synched up with: Not in FSF. */
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
21
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
22 void narrow_line_number_cache (struct buffer *);
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
23 void insert_invalidate_line_number_cache (struct buffer *, Bufpos,
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
24 CONST Bufbyte *, Bytecount);
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
25 void delete_invalidate_line_number_cache (struct buffer *, Bufpos, Bufpos);
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
26
78478c60bfcd Import from CVS: tag r20-4b4
cvs
parents:
diff changeset
27 EMACS_INT buffer_line_number (struct buffer *, Bufpos, int);