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

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.89 - (show annotations)
Sun Apr 23 19:37:58 2006 UTC (7 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.88: +1 -0 lines
Added code to clear the cache of panes (the previous `clear-pane'
invocation was apparently too naive).
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 #:do-buffer-region-lines
61 #:previous-line #:next-line
62 #:open-line #:kill-line
63 #:empty-line-p
64 #:line-indentation
65 #:buffer-display-column
66 #:number-of-lines-in-region
67 #:constituentp #:whitespacep
68 #:forward-word #:backward-word
69 #:delete-word #:backward-delete-word
70 #:buffer-region-case
71 #:upcase-buffer-region #:upcase-region
72 #:downcase-buffer-region #:downcase-region
73 #:capitalize-buffer-region #:capitalize-region
74 #:upcase-word #:downcase-word #:capitalize-word
75 #:tabify-region #:untabify-region
76 #:indent-line
77 #:indent-region
78 #:delete-indentation
79 #:fill-line
80 #:input-from-stream #:output-to-stream
81 #:name-mixin #:name
82 #:buffer-looking-at #:looking-at
83 #:buffer-search-forward #:buffer-search-backward
84 #:buffer-re-search-forward #:buffer-re-search-backward
85 #:search-forward #:search-backward
86 #:re-search-forward #:re-search-backward))
87
88 (defpackage :climacs-abbrev
89 (:use :clim-lisp :clim :climacs-buffer :climacs-base)
90 (:export #:abbrev-expander #:dictionary-abbrev-expander #:dictionary
91 #:expand-abbrev #:abbrev-mixin #:possibly-expand-abbrev
92 #:add-abbrev))
93
94 (defpackage :climacs-syntax
95 (:use :clim-lisp :clim :climacs-buffer :climacs-base :flexichain)
96 (:export #:syntax #:define-syntax
97 #:eval-option
98 #:define-option-for-syntax
99 #:syntax-from-name
100 #:basic-syntax
101 #:update-syntax #:update-syntax-for-display
102 #:grammar #:grammar-rule #:add-rule
103 #:parser #:initial-state
104 #:advance-parse
105 #:parse-tree #:start-offset #:end-offset
106 #:lexer #:nb-lexemes #:lexeme #:insert-lexeme
107 #:incremental-lexer #:next-lexeme
108 #:delete-invalid-lexemes #:inter-lexeme-object-p
109 #:skip-inter-lexeme-objects #:update-lex
110 #:parse-stack-top #:target-parse-tree #:parse-state-empty-p
111 #:parse-stack-next #:parse-stack-symbol
112 #:parse-stack-parse-trees #:map-over-parse-trees
113 #:no-such-operation #:no-expression
114 #:name-for-info-pane
115 #:syntax-line-indentation
116 #:forward-expression #:backward-expression
117 #:eval-defun
118 #:beginning-of-definition #:end-of-definition
119 #:redisplay-pane-with-syntax
120 #:backward-paragraph #:forward-paragraph
121 #:backward-sentence #:forward-sentence
122 #:forward-list #:backward-list
123 #:down-list #:up-list
124 #:backward-down-list #:backward-up-list
125 #:syntax-line-comment-string
126 #:line-comment-region #:comment-region
127 #:line-uncomment-region #:uncomment-region))
128
129 (defpackage :climacs-kill-ring
130 (:use :clim-lisp :flexichain)
131 (:export #:kill-ring #:kill-ring-length #:kill-ring-max-size
132 #:append-next-p
133 #:reset-yank-position #:rotate-yank-position #:kill-ring-yank
134 #:kill-ring-standard-push #:kill-ring-concatenating-push
135 #:kill-ring-reverse-concatenating-push))
136
137 (defpackage :undo
138 (:use :common-lisp)
139 (:export #:no-more-undo
140 #:undo-tree #:standard-undo-tree
141 #:undo-record #:standard-undo-record
142 #:add-undo #:flip-undo-record #:undo #:redo))
143
144 (defpackage :climacs-pane
145 (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-abbrev
146 :climacs-syntax :flexichain :undo)
147 (:export #:climacs-buffer #:needs-saving #:filepath
148 #:read-only-p #:buffer-read-only
149 #:climacs-pane #:point #:mark
150 #:clear-cache
151 #:redisplay-pane #:full-redisplay
152 #:display-cursor
153 #:display-mark
154 #:page-down #:page-up
155 #:top #:bot
156 #:tab-space-count #:space-width #:tab-width
157 #:indent-tabs-mode
158 #:auto-fill-mode #:auto-fill-column
159 #:isearch-state #:search-string #:search-mark
160 #:search-forward-p #:search-success-p
161 #:isearch-mode #:isearch-states #:isearch-previous-string
162 #:query-replace-state #:string1 #:string2
163 #:query-replace-mode
164 #:mark-visible-p
165 #:with-undo
166 #:url
167 #:climacs-textual-view #:+climacs-textual-view+))
168
169 (defpackage :climacs-gui
170 (:use :clim-lisp :clim :climacs-buffer :climacs-base
171 :climacs-abbrev :climacs-syntax
172 :climacs-kill-ring :climacs-pane :clim-extensions :undo :esa)
173 ;;(:import-from :lisp-string)
174 (:export :climacs ; Main entry point.
175 ;; GUI functions follow.
176 :current-window
177 :point
178 :syntax
179 :mark
180 :insert-character))
181
182 (defpackage :climacs-fundamental-syntax
183 (:use :clim-lisp :clim :climacs-buffer :climacs-base
184 :climacs-syntax :flexichain :climacs-pane)
185 (:export))
186
187 (defpackage :climacs-html-syntax
188 (:use :clim-lisp :clim :climacs-buffer :climacs-base
189 :climacs-syntax :flexichain :climacs-pane))
190
191 (defpackage :climacs-prolog-syntax
192 (:use :clim-lisp :clim :climacs-buffer :climacs-base
193 :climacs-syntax :flexichain :climacs-pane)
194 (:shadow #:atom #:close #:exp #:integer #:open #:variable))
195
196 (defpackage :climacs-cl-syntax
197 (:use :clim-lisp :clim :climacs-buffer :climacs-base
198 :climacs-syntax :flexichain :climacs-pane)
199 (:export))
200
201 (defpackage :climacs-lisp-syntax
202 (:use :clim-lisp :clim :clim-extensions :climacs-buffer :climacs-base
203 :climacs-syntax :flexichain :climacs-pane :climacs-gui)
204 (:export :lisp-string))
205
206

  ViewVC Help
Powered by ViewVC 1.1.5