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

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.87 - (show annotations)
Sun Mar 26 14:14:48 2006 UTC (8 years ago) by thenriksen
Branch: MAIN
Changes since 1.86: +2 -0 lines
Added region- and expression-indentation commands.
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 #:syntax-from-name
98 #:basic-syntax
99 #:update-syntax #:update-syntax-for-display
100 #:grammar #:grammar-rule #:add-rule
101 #:parser #:initial-state
102 #:advance-parse
103 #:parse-tree #:start-offset #:end-offset
104 #:lexer #:nb-lexemes #:lexeme #:insert-lexeme
105 #:incremental-lexer #:next-lexeme
106 #:delete-invalid-lexemes #:inter-lexeme-object-p
107 #:skip-inter-lexeme-objects #:update-lex
108 #:parse-stack-top #:target-parse-tree #:parse-state-empty-p
109 #:parse-stack-next #:parse-stack-symbol
110 #:parse-stack-parse-trees #:map-over-parse-trees
111 #:no-such-operation #:no-expression
112 #:name-for-info-pane
113 #:syntax-line-indentation
114 #:forward-expression #:backward-expression
115 #:eval-defun
116 #:beginning-of-definition #:end-of-definition
117 #:redisplay-pane-with-syntax
118 #:backward-paragraph #:forward-paragraph
119 #:backward-sentence #:forward-sentence
120 #:forward-list #:backward-list
121 #:down-list #:up-list
122 #:backward-down-list #:backward-up-list
123 #:syntax-line-comment-string
124 #:line-comment-region #:comment-region
125 #:line-uncomment-region #:uncomment-region))
126
127 (defpackage :climacs-kill-ring
128 (:use :clim-lisp :flexichain)
129 (:export #:kill-ring #:kill-ring-length #:kill-ring-max-size
130 #:append-next-p
131 #:reset-yank-position #:rotate-yank-position #:kill-ring-yank
132 #:kill-ring-standard-push #:kill-ring-concatenating-push
133 #:kill-ring-reverse-concatenating-push))
134
135 (defpackage :undo
136 (:use :common-lisp)
137 (:export #:no-more-undo
138 #:undo-tree #:standard-undo-tree
139 #:undo-record #:standard-undo-record
140 #:add-undo #:flip-undo-record #:undo #:redo))
141
142 (defpackage :climacs-pane
143 (:use :clim-lisp :clim :climacs-buffer :climacs-base :climacs-abbrev
144 :climacs-syntax :flexichain :undo)
145 (:export #:climacs-buffer #:needs-saving #:filepath
146 #:read-only-p #:buffer-read-only
147 #:climacs-pane #:point #:mark
148 #:redisplay-pane #:full-redisplay
149 #:display-cursor
150 #:display-mark
151 #:page-down #:page-up
152 #:top #:bot
153 #:tab-space-count #:space-width #:tab-width
154 #:indent-tabs-mode
155 #:auto-fill-mode #:auto-fill-column
156 #:isearch-state #:search-string #:search-mark
157 #:search-forward-p #:search-success-p
158 #:isearch-mode #:isearch-states #:isearch-previous-string
159 #:query-replace-state #:string1 #:string2
160 #:query-replace-mode
161 #:mark-visible-p
162 #:with-undo
163 #:url
164 #:climacs-textual-view #:+climacs-textual-view+))
165
166 (defpackage :climacs-gui
167 (:use :clim-lisp :clim :climacs-buffer :climacs-base
168 :climacs-abbrev :climacs-syntax
169 :climacs-kill-ring :climacs-pane :clim-extensions :undo :esa)
170 ;;(:import-from :lisp-string)
171 (:export :climacs ; Main entry point.
172 ;; GUI functions follow.
173 :current-window
174 :point
175 :syntax
176 :mark
177 :insert-character))
178
179 (defpackage :climacs-fundamental-syntax
180 (:use :clim-lisp :clim :climacs-buffer :climacs-base
181 :climacs-syntax :flexichain :climacs-pane)
182 (:export))
183
184 (defpackage :climacs-html-syntax
185 (:use :clim-lisp :clim :climacs-buffer :climacs-base
186 :climacs-syntax :flexichain :climacs-pane))
187
188 (defpackage :climacs-prolog-syntax
189 (:use :clim-lisp :clim :climacs-buffer :climacs-base
190 :climacs-syntax :flexichain :climacs-pane)
191 (:shadow #:atom #:close #:exp #:integer #:open #:variable))
192
193 (defpackage :climacs-cl-syntax
194 (:use :clim-lisp :clim :climacs-buffer :climacs-base
195 :climacs-syntax :flexichain :climacs-pane)
196 (:export))
197
198 (defpackage :climacs-lisp-syntax
199 (:use :clim-lisp :clim :clim-extensions :climacs-buffer :climacs-base
200 :climacs-syntax :flexichain :climacs-pane :climacs-gui)
201 (:export :lisp-string))
202
203

  ViewVC Help
Powered by ViewVC 1.1.5