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

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations)
Thu Dec 23 18:49:32 2004 UTC (9 years, 3 months ago) by rstrandh
Branch: MAIN
Changes since 1.7: +6 -1 lines
First steps toward a decent redisplay function.

We introduce a protocol class `syntax' used to specialize methods of
the redisplay functions.

We also introduce a class `basic-syntax', a subclass of `syntax' that
can redisplay basic text.  Currently, the redisplay method on
basic-syntax is not terribly smart, as it displays the entire buffer.

Each pane that displays a buffer also contains a syntax used to
determine the way the buffer is to be rendered in that pane.

Currently, the implementation is ahead of the specification with
respect to this syntax abstraction.  That will not be the case for
very long, though.
1 strandh 1.1 ;;; -*- Mode: Lisp; Package: COMMON-LISP-USER -*-
2    
3     ;;; (c) copyright 2004 by
4 strandh 1.6 ;;; Robert Strandh (strandh@labri.fr)
5 strandh 1.1
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 strandh 1.4 (:use :clim-lisp :flexichain)
25 strandh 1.1 (: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 strandh 1.3 #:insert-buffer-object #:insert-buffer-sequence
36     #:insert-object #:insert-sequence
37     #:delete-buffer-range #:delete-range
38 strandh 1.1 #:delete-region
39 strandh 1.3 #:buffer-object #:buffer-sequence
40 rstrandh 1.7 #:object-before #:object-after #:region-to-sequence
41     #:low-mark #:high-mark #:reset-low-high-marks))
42 strandh 1.1
43     (defpackage :climacs-base
44     (:use :clim-lisp :climacs-buffer)
45     (:export #:previous-line #:next-line
46     #:open-line #:kill-line
47 strandh 1.2 #:constituentp
48 strandh 1.4 #:forward-word #:backward-word
49     #:input-from-stream #:output-to-stream))
50 strandh 1.1
51 strandh 1.2 (defpackage :climacs-abbrev
52     (:use :clim-lisp :clim :climacs-buffer :climacs-base)
53     (:export #:abbrev-expander #:dictionary-abbrev-expander #:dictionary
54 strandh 1.5 #:expand-abbrev #:abbrev-mixin #:possibly-expand-abbrev))
55 strandh 1.2
56 rstrandh 1.8 (defpackage :climacs-syntax
57     (:use :clim-lisp :clim :climacs-buffer :climacs-base)
58     (:export #:syntax #:basic-syntax
59     #:redisplay-with-syntax #:full-redisplay))
60    
61 strandh 1.1 (defpackage :climacs-gui
62 rstrandh 1.8 (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-abbrev :climacs-syntax))
63 strandh 1.1

  ViewVC Help
Powered by ViewVC 1.1.5