mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-18 15:56:39 +02:00
Added design c-cmt2
Added padding entries to a few designs A few cosmetic corrections in sample blocks etc.
This commit is contained in:
parent
b3fb4bade2
commit
8ca615b7b0
68
boxes-config
68
boxes-config
@ -3,7 +3,7 @@
|
|||||||
# Date created: March 17, 1999 (Wednesday, 17:02h)
|
# Date created: March 17, 1999 (Wednesday, 17:02h)
|
||||||
# Author: Thomas Jensen
|
# Author: Thomas Jensen
|
||||||
# tsjensen@stud.informatik.uni-erlangen.de
|
# tsjensen@stud.informatik.uni-erlangen.de
|
||||||
# Version: $Id: boxes-config,v 1.5 1999/06/16 10:52:59 tsjensen Exp tsjensen $
|
# Version: $Id: boxes-config,v 1.6 1999/06/17 19:03:09 tsjensen Exp tsjensen $
|
||||||
# Format: ASCII Text
|
# Format: ASCII Text
|
||||||
# World Wide Web: http://home.pages.de/~jensen/boxes/
|
# World Wide Web: http://home.pages.de/~jensen/boxes/
|
||||||
# Purpose: Example configuration file for the boxes program
|
# Purpose: Example configuration file for the boxes program
|
||||||
@ -11,6 +11,10 @@
|
|||||||
# Revision History:
|
# Revision History:
|
||||||
#
|
#
|
||||||
# $Log: boxes-config,v $
|
# $Log: boxes-config,v $
|
||||||
|
# Revision 1.6 1999/06/17 19:03:09 tsjensen
|
||||||
|
# Added designs c-cmt, pound-cmt, java-cmt, html-cmt, right, vim-cmt
|
||||||
|
# They have become possible because boxes now checks for empty sides.
|
||||||
|
#
|
||||||
# Revision 1.5 1999/06/16 10:52:59 tsjensen
|
# Revision 1.5 1999/06/16 10:52:59 tsjensen
|
||||||
# Added "reverse" entry for testing, more "reverse" entries needed still
|
# Added "reverse" entry for testing, more "reverse" entries needed still
|
||||||
# Added "peek" design for C funtion headers
|
# Added "peek" design for C funtion headers
|
||||||
@ -244,6 +248,10 @@ shapes {
|
|||||||
replace "\\*/" with "*\\/" # quote closing comment tags
|
replace "\\*/" with "*\\/" # quote closing comment tags
|
||||||
reverse "\\*\\\\/" to "*/"
|
reverse "\\*\\\\/" to "*/"
|
||||||
|
|
||||||
|
padding {
|
||||||
|
horiz 1 # alternatives: all, vert, lef, rig, bottom, top
|
||||||
|
} # can be combined, e.g. all 3 top 1
|
||||||
|
|
||||||
elastic (n,e,s,w)
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
END c
|
END c
|
||||||
@ -275,6 +283,8 @@ shapes {
|
|||||||
replace "\\*/" with "*\\/" # quote closing comment tags
|
replace "\\*/" with "*\\/" # quote closing comment tags
|
||||||
reverse "\\*\\\\/" to "*/"
|
reverse "\\*\\\\/" to "*/"
|
||||||
|
|
||||||
|
Padding { h 1 }
|
||||||
|
|
||||||
elastic (n,e,s,w)
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
END c-cmt
|
END c-cmt
|
||||||
@ -283,6 +293,39 @@ END c-cmt
|
|||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
BOX c-cmt2
|
||||||
|
|
||||||
|
author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>"
|
||||||
|
revision "1.0"
|
||||||
|
revdate "June 17, 1999 (Thursday, 19:59h)"
|
||||||
|
created "June 17, 1999 (Thursday, 19:59h)"
|
||||||
|
|
||||||
|
sample {
|
||||||
|
/*
|
||||||
|
* regular C language
|
||||||
|
* comments
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
shapes {
|
||||||
|
nw ("/*") n (" ") ne (" ")
|
||||||
|
w (" *") e (" ")
|
||||||
|
sw (" *") ssw ("/") s (" ") se (" ")
|
||||||
|
}
|
||||||
|
|
||||||
|
padding { left 2 }
|
||||||
|
|
||||||
|
replace "\\*/" with "*\\/" # quote closing comment tags
|
||||||
|
reverse "\\*\\\\/" to "*/"
|
||||||
|
|
||||||
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
|
END c-cmt2
|
||||||
|
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
|
|
||||||
BOX html
|
BOX html
|
||||||
|
|
||||||
author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>"
|
author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>"
|
||||||
@ -749,6 +792,10 @@ shapes {
|
|||||||
|
|
||||||
replace "%}" with "%\\}"
|
replace "%}" with "%\\}"
|
||||||
|
|
||||||
|
padding {
|
||||||
|
horizontal 1
|
||||||
|
}
|
||||||
|
|
||||||
elastic (n, e, s, w)
|
elastic (n, e, s, w)
|
||||||
|
|
||||||
END netdata
|
END netdata
|
||||||
@ -1201,7 +1248,7 @@ sample {
|
|||||||
| C function headers? |
|
| C function headers? |
|
||||||
| |
|
| |
|
||||||
| |
|
| |
|
||||||
+------------------------------------*/
|
+-----------------------------------*/
|
||||||
}
|
}
|
||||||
|
|
||||||
shapes {
|
shapes {
|
||||||
@ -1215,7 +1262,8 @@ shapes {
|
|||||||
w (" |")
|
w (" |")
|
||||||
sw (" +")
|
sw (" +")
|
||||||
s ("-")
|
s ("-")
|
||||||
se ("+")
|
sse ("*")
|
||||||
|
se ("/")
|
||||||
}
|
}
|
||||||
|
|
||||||
replace "\\*/" with "*\\/" # quote closing comment tags
|
replace "\\*/" with "*\\/" # quote closing comment tags
|
||||||
@ -1248,6 +1296,8 @@ shapes {
|
|||||||
sw (" ") s (" ") se (" ")
|
sw (" ") s (" ") se (" ")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
padding {lef 1}
|
||||||
|
|
||||||
elastic (n,e,s,w)
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
END java-cmt
|
END java-cmt
|
||||||
@ -1275,6 +1325,8 @@ shapes {
|
|||||||
sw (" ") s (" ") se (" ")
|
sw (" ") s (" ") se (" ")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
padding { left 1}
|
||||||
|
|
||||||
elastic (n,e,s,w)
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
END pound-cmt
|
END pound-cmt
|
||||||
@ -1319,7 +1371,7 @@ created "June 17, 1999 (Thursday, 19:59h)"
|
|||||||
|
|
||||||
sample {
|
sample {
|
||||||
"
|
"
|
||||||
" comments used in the vim editor's config file (.vimrc)
|
" comments used in the vim editor's config file (.vimrc)
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1329,6 +1381,10 @@ shapes {
|
|||||||
sw (" ") s (" ") se (" ")
|
sw (" ") s (" ") se (" ")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
padding {
|
||||||
|
left 1
|
||||||
|
}
|
||||||
|
|
||||||
elastic (n,e,s,w)
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
END vim-cmt
|
END vim-cmt
|
||||||
@ -1349,7 +1405,7 @@ sample {
|
|||||||
(I don't like it, but some people work this way):
|
(I don't like it, but some people work this way):
|
||||||
|
|
||||||
for (j=0; j<blank_count; ++j) /*@TJ@*/
|
for (j=0; j<blank_count; ++j) /*@TJ@*/
|
||||||
fprintf (opt.outfile, "\n"); /*@TJ@*/
|
fprintf (opt.outfile, "\\n"); /*@TJ@*/
|
||||||
blank_count = 0; /*@TJ@*/
|
blank_count = 0; /*@TJ@*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1359,6 +1415,8 @@ shapes {
|
|||||||
sw (" ") s (" ") se (" ")
|
sw (" ") s (" ") se (" ")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
padding { right 4 }
|
||||||
|
|
||||||
elastic (n,e,s,w)
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
END right
|
END right
|
||||||
|
Loading…
x
Reference in New Issue
Block a user