Author Topic: DCL Syntax Highlighting  (Read 1356 times)

0 Members and 1 Guest are viewing this topic.

ziele_o2k

  • Newt
  • Posts: 49
DCL Syntax Highlighting
« on: June 19, 2016, 11:52:24 AM »
Hi,
I'm preparing DCL Syntax Highlighting in notepad ++
Can someone verify if I have all Tiles/Attributes/Values etc.?

Tiles:
Code: [Select]
boxed_column
boxed_radio_column
boxed_radio_row
boxed_row
button
column
concatenation
dialog
edit_box
errtile
image
image_button
list_box
paragraph
popup_list
radio_button
radio_column
radio_row
row
slider
spacer
spacer_0
spacer_1
text
text_part
toggle

ok_cancel
ok_cancel_help
ok_cancel_help_errtile
ok_cancel_help_info
ok_only

Attributes:
Code: [Select]
action
alignment
allow_accept
aspect_ratio
big_increment
children_alignment
children_fixed_height
children_fixed_width
color
edit_limit
edit_width
fixed_height
fixed_width
fixed_width_font
height
initial_focus
is_bold
is_cancel
is_default
is_enabled
is_tab_stop
layout
list
max_value
min_value
mnemonic
multiple_select
password_char
small_increment
tabs
tab_truncate
value
width


key
label

Values:
Code: [Select]
centered
left
right
top
bottom
true
false
dialog_line
dialog_foreground
dialog_background
graphics_background
black
red
yellow
green
cyan
blue
magenta
white
graphics
foreground
horizontal
vertical

Comments:
Code: [Select]
//
Symbols:
Code: [Select]
: ; =
Strings:
Code: [Select]
"

roy_043

  • Water Moccasin
  • Posts: 1876
  • BricsCAD 18
Re: DCL Syntax Highlighting
« Reply #1 on: June 19, 2016, 12:13:05 PM »
My list (the section marked 'attributeList_bcad' contains BricsCAD-only atts):
Code: [Select]
'(

; ******* tileList_general *******
boxed_column
boxed_radio_column
boxed_radio_row
boxed_row
button
cancel_button
cluster
color_palette_0_9
color_palette_1_7
color_palette_1_9
color_palette_250_255
column
concatenation
dcl_settings
default_button
default_dcl_settings
dialog
edit12_box
edit32_box
edit_box
errtile
fcf_ebox
fcf_ebox1
fcf_ibut
fcf_ibut1
files_bottomdf
files_topdf
help_button
icon_image
image
image_block
image_button
info_button
list_box
ok_button
ok_cancel
ok_cancel_err
ok_cancel_help
ok_cancel_help_errtile
ok_cancel_help_info
ok_only
paragraph
popup_list
radio_button
radio_cluster
radio_column
radio_row
retirement_button
row
slider
spacer
spacer_0
spacer_1
std_rq_color
swatch
text
text_25
text_part
tile
toggle

; ******* attributeList_bcad *******
bcad_height
bcad_label
bcad_skip_next_child
bcad_width
tool_tip

; ******* attributeList_general *******
action
alignment
allow_accept
aspect_ratio
audit_level
big_increment
boxed
children_alignment
children_fixed_height
children_fixed_width
color
edit_limit
edit_width
fixed_height
fixed_width
fixed_width_font
height
initial_focus
is_bold
is_cancel
is_default
is_enabled
is_tab_stop
key
label
layout
list
max_value
min_value
mnemonic
multiple_select
password_char
small_increment
tab_truncate
tabs
value
width

; ******* attributeValueList_general *******
black
blue
bottom
centered
cyan
dialog_background
dialog_foreground
dialog_line
false
graphics_background
graphics_foreground
green
horizontal
left
magenta
red
right
top
true
vertical
white
yellow

; ******* MiscList_general *******
@include
)

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 20 Ultimate
Re: DCL Syntax Highlighting
« Reply #2 on: June 19, 2016, 12:34:03 PM »
Do you include;

$value or $key ?

roy_043

  • Water Moccasin
  • Posts: 1876
  • BricsCAD 18
Re: DCL Syntax Highlighting
« Reply #3 on: June 19, 2016, 02:00:45 PM »
Do you include;

$value or $key ?
These default variable names are only used in .lsp files, not in .dcl files.

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9672
Re: DCL Syntax Highlighting
« Reply #4 on: June 19, 2016, 02:24:26 PM »
I had added DCL syntax stuff to my Vim Autolisp syntax file you can reference. I believe I had most if not all. You'll have to do a search here to see if you can't locate that very old post of mine.
TheSwamp.org (serving the CAD community since 2003)

Donate to TheSwamp.org

haibinpro

  • Newt
  • Posts: 47
Re: DCL Syntax Highlighting
« Reply #5 on: July 26, 2016, 11:30:02 PM »
I make a syntax file for ee,maybe you could ref it.

ziele_o2k

  • Newt
  • Posts: 49
Re: DCL Syntax Highlighting
« Reply #6 on: July 27, 2016, 04:25:22 AM »
I had added DCL syntax stuff to my Vim Autolisp syntax file you can reference. I believe I had most if not all. You'll have to do a search here to see if you can't locate that very old post of mine.
I found only this for lisp:
https://www.theswamp.org/index.php?topic=33339.msg387473#msg387473
But while I was searching I found this one:
https://www.theswamp.org/index.php?topic=20643.msg250951;topicseen#msg250951
I make a syntax file for ee,maybe you could ref it.
I will check this one :)