Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
climacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
climacs
climacs
Commits
3de1cb33
Commit
3de1cb33
authored
Mar 15, 2005
by
Robert Strandh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes
parent
eecf6625
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
html-syntax.lisp
html-syntax.lisp
+2
-2
packages.lisp
packages.lisp
+1
-1
pane.lisp
pane.lisp
+0
-2
syntax.lisp
syntax.lisp
+7
-0
No files found.
html-syntax.lisp
View file @
3de1cb33
...
...
@@ -112,6 +112,8 @@
(
defclass
word
(
html-element
)
())
(
defclass
delimiter
(
html-element
)
())
(
defclass
html-lexer
(
incremental-lexer
)
())
(
defmethod
next-lexeme
((
lexer
html-lexer
)
scan
)
(
flet
((
fo
()
(
forward-object
scan
)))
(
let
((
object
(
object-after
scan
)))
...
...
@@ -127,8 +129,6 @@
(
t
(
fo
)
(
make-instance
'delimiter
))))))))
(
defclass
html-lexer
(
incremental-lexer
)
())
(
define-syntax
html-syntax
(
"HTML"
(
basic-syntax
))
((
lexer
:reader
lexer
)
(
valid-parse
:initform
1
)
...
...
packages.lisp
View file @
3de1cb33
...
...
@@ -105,6 +105,7 @@
#:parse-stack-next
#:parse-stack-symbol
#:parse-stack-parse-trees
#:map-over-parse-trees
#:syntax-line-indentation
#:redisplay-pane-with-syntax
#:beginning-of-paragraph
#:end-of-paragraph
))
(
defpackage
:climacs-cl-syntax
...
...
@@ -141,7 +142,6 @@
#:query-replace-state
#:string1
#:string2
#:query-replace-mode
#:with-undo
#:redisplay-pane-with-syntax
#:url
))
(
defpackage
:climacs-html-syntax
...
...
pane.lisp
View file @
3de1cb33
...
...
@@ -477,8 +477,6 @@
(
+
cursor-x
2
)
(
+
cursor-y
(
*
0.8
height
))
:ink
cursor-ink
)))))
(
defgeneric
redisplay-pane-with-syntax
(
pane
syntax
current-p
))
(
defmethod
redisplay-pane-with-syntax
((
pane
climacs-pane
)
(
syntax
basic-syntax
)
current-p
)
(
display-cache
pane
(
if
current-p
+red+
+blue+
)))
...
...
syntax.lisp
View file @
3de1cb33
...
...
@@ -456,3 +456,10 @@ internal state of the parser. Do not alter it!"
(
return-from
map-over-parse-trees
nil
))
(
incomplete-items
state
))
(
funcall
function
(
state-contains-target-p
state
))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Display
(
defgeneric
redisplay-pane-with-syntax
(
pane
syntax
current-p
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment