/[climacs]/climacs/packages.lisp
ViewVC logotype

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations)
Sun Dec 26 07:18:01 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.10: +1 -0 lines
Much improved redisplay algorithm.

The behavior when point is outside the current region on display is
much faster and similar to that of Emacs, in that the algorithm tries
to position point in the middle of the pane.
1 ;;; -*- Mode: Lisp; Package: COMMON-LISP-USER -*-
2
3 ;;; (c) copyright 2004 by
4 ;;; Robert Strandh (strandh@labri.fr)
5
6 ;;; This library is free software; you can redistribute it and/or
7 ;;; modify it under the terms of the GNU Library General Public
8 ;;; License as published by the Free Software Foundation; either
9 ;;; version 2 of the License, or (at your option) any later version.
10 ;;;
11 ;;; This library is distributed in the hope that it will be useful,
12 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 ;;; Library General Public License for more details.
15 ;;;
16 ;;; You should have received a copy of the GNU Library General Public
17 ;;; License along with this library; if not, write to the
18 ;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 ;;; Boston, MA 02111-1307 USA.
20
21 ;;; Package definitions for the Climacs editor.
22
23 (defpackage :climacs-buffer
24 (:use :clim-lisp :flexichain)
25 (:export #:buffer #:standard-buffer
26 #:mark #:left-sticky-mark #:right-sticky-mark
27 #:standard-left-sticky-mark #:standard-right-sticky-mark
28 #:clone-mark #:no-such-offset #:size #:number-of-lines
29 #:offset #:mark< #:mark<= #:mark= #:mark> #:mark>=
30 #:beginning-of-buffer #:end-of-buffer
31 #:beginning-of-buffer-p #:end-of-buffer-p
32 #:beginning-of-line #:end-of-line
33 #:beginning-of-line-p #:end-of-line-p
34 #:line-number #:column-number
35 #:insert-buffer-object #:insert-buffer-sequence
36 #:insert-object #:insert-sequence
37 #:delete-buffer-range #:delete-range
38 #:delete-region
39 #:buffer-object #:buffer-sequence
40 #:object-before #:object-after #:region-to-sequence
41 #:low-mark #:high-mark #:reset-low-high-marks))
42
43 (defpackage :climacs-base
44 (:use :clim-lisp :climacs-buffer)
45 (:export #:previous-line #:next-line
46 #:open-line #:kill-line
47 #:number-of-lines-in-region
48 #:constituentp
49 #:forward-word #:backward-word
50 #:input-from-stream #:output-to-stream))
51
52 (defpackage :climacs-abbrev
53 (:use :clim-lisp :clim :climacs-buffer :climacs-base)
54 (:export #:abbrev-expander #:dictionary-abbrev-expander #:dictionary
55 #:expand-abbrev #:abbrev-mixin #:possibly-expand-abbrev))
56
57 (defpackage :climacs-syntax
58 (:use :clim-lisp :clim :climacs-buffer :climacs-base)
59 (:export #:syntax #:basic-syntax #:texinfo-syntax
60 #:redisplay-pane #:redisplay-with-syntax #:full-redisplay
61 #:url))
62
63 (defpackage :climacs-gui
64 (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-abbrev :climacs-syntax))
65

  ViewVC Help
Powered by ViewVC 1.1.5