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

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.67 - (show annotations)
Thu Jul 21 12:24:30 2005 UTC (8 years, 9 months ago) by rstrandh
Branch: MAIN
Changes since 1.66: +6 -3 lines
Migration of initial common functionality from gui.lisp to esa.lisp
completed.  Next to migrate should be keyboard macros, pane splitting,
and other functionality not specific to Climacs.
1 ;;; -*- Mode: Lisp; Package: COMMON-LISP-USER -*-
2
3 ;;; (c) copyright 2004-2005 by
4 ;;; Robert Strandh (strandh@labri.fr)
5 ;;; (c) copyright 2005 by
6 ;;; Matthieu Villeneuve (matthieu.villeneuve@free.fr)
7
8 ;;; This library is free software; you can redistribute it and/or
9 ;;; modify it under the terms of the GNU Library General Public
10 ;;; License as published by the Free Software Foundation; either
11 ;;; version 2 of the License, or (at your option) any later version.
12 ;;;
13 ;;; This library is distributed in the hope that it will be useful,
14 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ;;; Library General Public License for more details.
17 ;;;
18 ;;; You should have received a copy of the GNU Library General Public
19 ;;; License along with this library; if not, write to the
20 ;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 ;;; Boston, MA 02111-1307 USA.
22
23 ;;; Package definitions for the Climacs editor.
24
25 (defpackage :climacs-buffer
26 (:use :clim-lisp :flexichain :binseq)
27 (:export #:buffer #:standard-buffer
28 #:mark #:left-sticky-mark #:right-sticky-mark
29 #:standard-left-sticky-mark #:standard-right-sticky-mark
30 #:clone-mark
31 #:no-such-offset #:offset-before-beginning #:offset-after-end
32 #:invalid-motion #:motion-before-beginning #:motion-after-end
33 #:size #:number-of-lines
34 #:offset #:mark< #:mark<= #:mark= #:mark> #:mark>=
35 #:forward-object #:backward-object
36 #:beginning-of-buffer #:end-of-buffer
37 #:beginning-of-buffer-p #:end-of-buffer-p
38 #:beginning-of-line #:end-of-line
39 #:beginning-of-line-p #:end-of-line-p
40 #:buffer-line-number #:buffer-column-number
41 #:line-number #:column-number
42 #:insert-buffer-object #:insert-buffer-sequence
43 #:insert-object #:insert-sequence
44 #:delete-buffer-range #:delete-range
45 #:delete-region
46 #:buffer-object #:buffer-sequence
47 #:object-before #:object-after #:region-to-sequence
48 #:low-mark #:high-mark #:modified-p #:clear-modify
49
50 #:binseq-buffer #:obinseq-buffer #:binseq2-buffer
51 #:persistent-left-sticky-mark #:persistent-right-sticky-mark
52 #:persistent-left-sticky-line-mark #:persistent-right-sticky-line-mark
53 #:p-line-mark-mixin #:buffer-line-offset
54
55 #:delegating-buffer #:implementation))
56
57 (defpackage :climacs-base
58 (:use :clim-lisp :climacs-buffer)
59 (:export #:do-buffer-region
60 #:previous-line #:next-line
61 #:open-line #:kill-line
62 #:empty-line-p
63 #:line-indentation
64 #:buffer-display-column
65 #:number-of-lines-in-region
66 #:constituentp #:whitespacep
67 #:forward-word #:backward-word
68 #:delete-word #:backward-delete-word
69 #:buffer-region-case
70 #:upcase-buffer-region #:upcase-region
71 #:downcase-buffer-region #:downcase-region
72 #:capitalize-buffer-region #:capitalize-region
73 #:upcase-word #:downcase-word #:capitalize-word
74 #:tabify-region #:untabify-region
75 #:indent-line
76 #:delete-indentation
77 #:fill-line
78 #:input-from-stream #:output-to-stream
79 #:name-mixin #:name
80 #:buffer-looking-at #:looking-at
81 #:buffer-search-forward #:buffer-search-backward
82 #:search-forward #:search-backward))
83
84 (defpackage :climacs-abbrev
85 (:use :clim-lisp :clim :climacs-buffer :climacs-base)
86 (:export #:abbrev-expander #:dictionary-abbrev-expander #:dictionary
87 #:expand-abbrev #:abbrev-mixin #:possibly-expand-abbrev
88 #:add-abbrev))
89
90 (defpackage :climacs-syntax
91 (:use :clim-lisp :clim :climacs-buffer :climacs-base :flexichain)
92 (:export #:syntax #:define-syntax
93 #:basic-syntax
94 #:update-syntax #:update-syntax-for-display
95 #:grammar #:grammar-rule #:add-rule
96 #:parser #:initial-state
97 #:advance-parse
98 #:parse-tree #:start-offset #:end-offset
99 #:lexer #:nb-lexemes #:lexeme #:insert-lexeme
100 #:incremental-lexer #:next-lexeme
101 #:delete-invalid-lexemes #:inter-lexeme-object-p
102 #:skip-inter-lexeme-objects #:update-lex
103 #:parse-stack-top #:target-parse-tree #:parse-state-empty-p
104 #:parse-stack-next #:parse-stack-symbol
105 #:parse-stack-parse-trees #:map-over-parse-trees
106 #:no-such-operation #:no-expression
107 #:syntax-line-indentation
108 #:forward-expression #:backward-expression
109 #:eval-defun
110 #:redisplay-pane-with-syntax
111 #:beginning-of-paragraph #:end-of-paragraph))
112
113 (defpackage :climacs-kill-ring
114 (:use :clim-lisp :flexichain)
115 (:export #:kill-ring #:kill-ring-length #:kill-ring-max-size
116 #:reset-yank-position #:rotate-yank-position #:kill-ring-yank
117 #:kill-ring-standard-push #:kill-ring-concatenating-push))
118
119 (defpackage :undo
120 (:use :common-lisp)
121 (:export #:no-more-undo
122 #:undo-tree #:standard-undo-tree
123 #:undo-record #:standard-undo-record
124 #:add-undo #:flip-undo-record #:undo #:redo))
125
126 (defpackage :climacs-pane
127 (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-abbrev
128 :climacs-syntax :flexichain :undo)
129 (:export #:climacs-buffer #:needs-saving #:filepath
130 #:climacs-pane #:point #:mark
131 #:redisplay-pane #:full-redisplay
132 #:page-down #:page-up
133 #:top #:bot
134 #:tab-space-count #:space-width #:tab-width
135 #:indent-tabs-mode
136 #:auto-fill-mode #:auto-fill-column
137 #:isearch-state #:search-string #:search-mark
138 #:search-forward-p #:search-success-p
139 #:isearch-mode #:isearch-states #:isearch-previous-string
140 #:query-replace-state #:string1 #:string2
141 #:query-replace-mode
142 #:with-undo
143 #:url))
144
145 (defpackage :climacs-fundamental-syntax
146 (:use :clim-lisp :clim :climacs-buffer :climacs-base
147 :climacs-syntax :flexichain :climacs-pane)
148 (:export))
149
150 (defpackage :climacs-html-syntax
151 (:use :clim-lisp :clim :climacs-buffer :climacs-base
152 :climacs-syntax :flexichain :climacs-pane))
153
154 (defpackage :climacs-prolog-syntax
155 (:use :clim-lisp :clim :climacs-buffer :climacs-base
156 :climacs-syntax :flexichain :climacs-pane)
157 (:shadow "ATOM" "CLOSE" "EXP" "INTEGER" "OPEN" "VARIABLE"))
158
159 (defpackage :climacs-cl-syntax
160 (:use :clim-lisp :clim :climacs-buffer :climacs-base
161 :climacs-syntax :flexichain :climacs-pane)
162 (:export))
163
164 (defpackage :climacs-lisp-syntax
165 (:use :clim-lisp :clim :climacs-buffer :climacs-base
166 :climacs-syntax :flexichain :climacs-pane)
167 (:export))
168
169 (defpackage :esa
170 (:use :clim-lisp :clim)
171 (:export #:minibuffer-pane #:display-message
172 #:esa-pane-mixin #:previous-command
173 #:info-pane #:master-pane
174 #:esa-frame-mixin #:windows #:recordingp #:executingp
175 #:*numeric-argument-p* #:*current-gesture*
176 #:esa-top-level #:simple-command-loop
177 ;; remove these when kbd macros move to esa
178 #:recorded-keys #:remaining-keys))
179
180 (defpackage :climacs-gui
181 (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-abbrev :climacs-syntax
182 :climacs-kill-ring :climacs-pane :clim-extensions :undo :esa))
183

  ViewVC Help
Powered by ViewVC 1.1.5