mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-25 10:42:20 -05:00
828 lines
17 KiB
Plaintext
828 lines
17 KiB
Plaintext
object MainForm: TMainForm
|
|
Left = 409
|
|
Height = 448
|
|
Top = 230
|
|
Width = 956
|
|
Caption = 'MainForm'
|
|
ClientHeight = 448
|
|
ClientWidth = 956
|
|
OnCreate = FormCreate
|
|
LCLVersion = '0.9.29'
|
|
inline e: TSynEdit
|
|
Left = 432
|
|
Height = 448
|
|
Top = 0
|
|
Width = 524
|
|
Align = alClient
|
|
Font.Height = -13
|
|
Font.Name = 'Courier New'
|
|
Font.Pitch = fpFixed
|
|
Font.Quality = fqNonAntialiased
|
|
ParentColor = False
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
OnKeyDown = eKeyDown
|
|
OnKeyPress = eKeyPress
|
|
OnClickLink = eClickLink
|
|
OnMouseLink = eMouseLink
|
|
Gutter.Width = 57
|
|
Gutter.MouseActions = <
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbLeft
|
|
ClickCount = ccAny
|
|
ClickDir = cdDown
|
|
Command = 13
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbRight
|
|
ClickCount = ccSingle
|
|
ClickDir = cdUp
|
|
Command = 12
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end>
|
|
Highlighter = hlPas
|
|
Keystrokes = <
|
|
item
|
|
Command = ecUp
|
|
ShortCut = 38
|
|
end
|
|
item
|
|
Command = ecSelUp
|
|
ShortCut = 8230
|
|
end
|
|
item
|
|
Command = ecScrollUp
|
|
ShortCut = 16422
|
|
end
|
|
item
|
|
Command = ecDown
|
|
ShortCut = 40
|
|
end
|
|
item
|
|
Command = ecSelDown
|
|
ShortCut = 8232
|
|
end
|
|
item
|
|
Command = ecScrollDown
|
|
ShortCut = 16424
|
|
end
|
|
item
|
|
Command = ecLeft
|
|
ShortCut = 37
|
|
end
|
|
item
|
|
Command = ecSelLeft
|
|
ShortCut = 8229
|
|
end
|
|
item
|
|
Command = ecWordLeft
|
|
ShortCut = 16421
|
|
end
|
|
item
|
|
Command = ecSelWordLeft
|
|
ShortCut = 24613
|
|
end
|
|
item
|
|
Command = ecRight
|
|
ShortCut = 39
|
|
end
|
|
item
|
|
Command = ecSelRight
|
|
ShortCut = 8231
|
|
end
|
|
item
|
|
Command = ecWordRight
|
|
ShortCut = 16423
|
|
end
|
|
item
|
|
Command = ecSelWordRight
|
|
ShortCut = 24615
|
|
end
|
|
item
|
|
Command = ecPageDown
|
|
ShortCut = 34
|
|
end
|
|
item
|
|
Command = ecSelPageDown
|
|
ShortCut = 8226
|
|
end
|
|
item
|
|
Command = ecPageBottom
|
|
ShortCut = 16418
|
|
end
|
|
item
|
|
Command = ecSelPageBottom
|
|
ShortCut = 24610
|
|
end
|
|
item
|
|
Command = ecPageUp
|
|
ShortCut = 33
|
|
end
|
|
item
|
|
Command = ecSelPageUp
|
|
ShortCut = 8225
|
|
end
|
|
item
|
|
Command = ecPageTop
|
|
ShortCut = 16417
|
|
end
|
|
item
|
|
Command = ecSelPageTop
|
|
ShortCut = 24609
|
|
end
|
|
item
|
|
Command = ecLineStart
|
|
ShortCut = 36
|
|
end
|
|
item
|
|
Command = ecSelLineStart
|
|
ShortCut = 8228
|
|
end
|
|
item
|
|
Command = ecEditorTop
|
|
ShortCut = 16420
|
|
end
|
|
item
|
|
Command = ecSelEditorTop
|
|
ShortCut = 24612
|
|
end
|
|
item
|
|
Command = ecLineEnd
|
|
ShortCut = 35
|
|
end
|
|
item
|
|
Command = ecSelLineEnd
|
|
ShortCut = 8227
|
|
end
|
|
item
|
|
Command = ecEditorBottom
|
|
ShortCut = 16419
|
|
end
|
|
item
|
|
Command = ecSelEditorBottom
|
|
ShortCut = 24611
|
|
end
|
|
item
|
|
Command = ecToggleMode
|
|
ShortCut = 45
|
|
end
|
|
item
|
|
Command = ecCopy
|
|
ShortCut = 16429
|
|
end
|
|
item
|
|
Command = ecPaste
|
|
ShortCut = 8237
|
|
end
|
|
item
|
|
Command = ecDeleteChar
|
|
ShortCut = 46
|
|
end
|
|
item
|
|
Command = ecCut
|
|
ShortCut = 8238
|
|
end
|
|
item
|
|
Command = ecDeleteLastChar
|
|
ShortCut = 8
|
|
end
|
|
item
|
|
Command = ecDeleteLastChar
|
|
ShortCut = 8200
|
|
end
|
|
item
|
|
Command = ecDeleteLastWord
|
|
ShortCut = 16392
|
|
end
|
|
item
|
|
Command = ecUndo
|
|
ShortCut = 32776
|
|
end
|
|
item
|
|
Command = ecRedo
|
|
ShortCut = 40968
|
|
end
|
|
item
|
|
Command = ecLineBreak
|
|
ShortCut = 13
|
|
end
|
|
item
|
|
Command = ecSelectAll
|
|
ShortCut = 16449
|
|
end
|
|
item
|
|
Command = ecCopy
|
|
ShortCut = 16451
|
|
end
|
|
item
|
|
Command = ecBlockIndent
|
|
ShortCut = 24649
|
|
end
|
|
item
|
|
Command = ecLineBreak
|
|
ShortCut = 16461
|
|
end
|
|
item
|
|
Command = ecInsertLine
|
|
ShortCut = 16462
|
|
end
|
|
item
|
|
Command = ecDeleteWord
|
|
ShortCut = 16468
|
|
end
|
|
item
|
|
Command = ecBlockUnindent
|
|
ShortCut = 24661
|
|
end
|
|
item
|
|
Command = ecPaste
|
|
ShortCut = 16470
|
|
end
|
|
item
|
|
Command = ecCut
|
|
ShortCut = 16472
|
|
end
|
|
item
|
|
Command = ecDeleteLine
|
|
ShortCut = 16473
|
|
end
|
|
item
|
|
Command = ecDeleteEOL
|
|
ShortCut = 24665
|
|
end
|
|
item
|
|
Command = ecUndo
|
|
ShortCut = 16474
|
|
end
|
|
item
|
|
Command = ecRedo
|
|
ShortCut = 24666
|
|
end
|
|
item
|
|
Command = ecGotoMarker0
|
|
ShortCut = 16432
|
|
end
|
|
item
|
|
Command = ecGotoMarker1
|
|
ShortCut = 16433
|
|
end
|
|
item
|
|
Command = ecGotoMarker2
|
|
ShortCut = 16434
|
|
end
|
|
item
|
|
Command = ecGotoMarker3
|
|
ShortCut = 16435
|
|
end
|
|
item
|
|
Command = ecGotoMarker4
|
|
ShortCut = 16436
|
|
end
|
|
item
|
|
Command = ecGotoMarker5
|
|
ShortCut = 16437
|
|
end
|
|
item
|
|
Command = ecGotoMarker6
|
|
ShortCut = 16438
|
|
end
|
|
item
|
|
Command = ecGotoMarker7
|
|
ShortCut = 16439
|
|
end
|
|
item
|
|
Command = ecGotoMarker8
|
|
ShortCut = 16440
|
|
end
|
|
item
|
|
Command = ecGotoMarker9
|
|
ShortCut = 16441
|
|
end
|
|
item
|
|
Command = ecSetMarker0
|
|
ShortCut = 24624
|
|
end
|
|
item
|
|
Command = ecSetMarker1
|
|
ShortCut = 24625
|
|
end
|
|
item
|
|
Command = ecSetMarker2
|
|
ShortCut = 24626
|
|
end
|
|
item
|
|
Command = ecSetMarker3
|
|
ShortCut = 24627
|
|
end
|
|
item
|
|
Command = ecSetMarker4
|
|
ShortCut = 24628
|
|
end
|
|
item
|
|
Command = ecSetMarker5
|
|
ShortCut = 24629
|
|
end
|
|
item
|
|
Command = ecSetMarker6
|
|
ShortCut = 24630
|
|
end
|
|
item
|
|
Command = ecSetMarker7
|
|
ShortCut = 24631
|
|
end
|
|
item
|
|
Command = ecSetMarker8
|
|
ShortCut = 24632
|
|
end
|
|
item
|
|
Command = ecSetMarker9
|
|
ShortCut = 24633
|
|
end
|
|
item
|
|
Command = EcFoldLevel1
|
|
ShortCut = 41009
|
|
end
|
|
item
|
|
Command = EcFoldLevel2
|
|
ShortCut = 41010
|
|
end
|
|
item
|
|
Command = EcFoldLevel1
|
|
ShortCut = 41011
|
|
end
|
|
item
|
|
Command = EcFoldLevel1
|
|
ShortCut = 41012
|
|
end
|
|
item
|
|
Command = EcFoldLevel1
|
|
ShortCut = 41013
|
|
end
|
|
item
|
|
Command = EcFoldLevel6
|
|
ShortCut = 41014
|
|
end
|
|
item
|
|
Command = EcFoldLevel7
|
|
ShortCut = 41015
|
|
end
|
|
item
|
|
Command = EcFoldLevel8
|
|
ShortCut = 41016
|
|
end
|
|
item
|
|
Command = EcFoldLevel9
|
|
ShortCut = 41017
|
|
end
|
|
item
|
|
Command = EcFoldLevel0
|
|
ShortCut = 41008
|
|
end
|
|
item
|
|
Command = EcFoldCurrent
|
|
ShortCut = 41005
|
|
end
|
|
item
|
|
Command = EcUnFoldCurrent
|
|
ShortCut = 41003
|
|
end
|
|
item
|
|
Command = EcToggleMarkupWord
|
|
ShortCut = 32845
|
|
end
|
|
item
|
|
Command = ecNormalSelect
|
|
ShortCut = 24654
|
|
end
|
|
item
|
|
Command = ecColumnSelect
|
|
ShortCut = 24643
|
|
end
|
|
item
|
|
Command = ecLineSelect
|
|
ShortCut = 24652
|
|
end
|
|
item
|
|
Command = ecTab
|
|
ShortCut = 9
|
|
end
|
|
item
|
|
Command = ecShiftTab
|
|
ShortCut = 8201
|
|
end
|
|
item
|
|
Command = ecMatchBracket
|
|
ShortCut = 24642
|
|
end
|
|
item
|
|
Command = ecColSelUp
|
|
ShortCut = 40998
|
|
end
|
|
item
|
|
Command = ecColSelDown
|
|
ShortCut = 41000
|
|
end
|
|
item
|
|
Command = ecColSelLeft
|
|
ShortCut = 40997
|
|
end
|
|
item
|
|
Command = ecColSelRight
|
|
ShortCut = 40999
|
|
end
|
|
item
|
|
Command = ecColSelPageDown
|
|
ShortCut = 40994
|
|
end
|
|
item
|
|
Command = ecColSelPageBottom
|
|
ShortCut = 57378
|
|
end
|
|
item
|
|
Command = ecColSelPageUp
|
|
ShortCut = 40993
|
|
end
|
|
item
|
|
Command = ecColSelPageTop
|
|
ShortCut = 57377
|
|
end
|
|
item
|
|
Command = ecColSelLineStart
|
|
ShortCut = 40996
|
|
end
|
|
item
|
|
Command = ecColSelLineEnd
|
|
ShortCut = 40995
|
|
end
|
|
item
|
|
Command = ecColSelEditorTop
|
|
ShortCut = 57380
|
|
end
|
|
item
|
|
Command = ecColSelEditorBottom
|
|
ShortCut = 57379
|
|
end>
|
|
MouseActions = <
|
|
item
|
|
Shift = []
|
|
ShiftMask = [ssShift, ssAlt]
|
|
Button = mbLeft
|
|
ClickCount = ccSingle
|
|
ClickDir = cdDown
|
|
Command = 1
|
|
MoveCaret = True
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = [ssShift]
|
|
ShiftMask = [ssShift, ssAlt]
|
|
Button = mbLeft
|
|
ClickCount = ccSingle
|
|
ClickDir = cdDown
|
|
Command = 1
|
|
MoveCaret = True
|
|
Option = 1
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = [ssAlt]
|
|
ShiftMask = [ssShift, ssAlt]
|
|
Button = mbLeft
|
|
ClickCount = ccSingle
|
|
ClickDir = cdDown
|
|
Command = 3
|
|
MoveCaret = True
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = [ssShift, ssAlt]
|
|
ShiftMask = [ssShift, ssAlt]
|
|
Button = mbLeft
|
|
ClickCount = ccSingle
|
|
ClickDir = cdDown
|
|
Command = 3
|
|
MoveCaret = True
|
|
Option = 1
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbRight
|
|
ClickCount = ccSingle
|
|
ClickDir = cdUp
|
|
Command = 12
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbLeft
|
|
ClickCount = ccDouble
|
|
ClickDir = cdDown
|
|
Command = 6
|
|
MoveCaret = True
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbLeft
|
|
ClickCount = ccTriple
|
|
ClickDir = cdDown
|
|
Command = 7
|
|
MoveCaret = True
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbLeft
|
|
ClickCount = ccQuad
|
|
ClickDir = cdDown
|
|
Command = 8
|
|
MoveCaret = True
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbMiddle
|
|
ClickCount = ccSingle
|
|
ClickDir = cdDown
|
|
Command = 10
|
|
MoveCaret = True
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = [ssCtrl]
|
|
ShiftMask = [ssShift, ssAlt, ssCtrl]
|
|
Button = mbLeft
|
|
ClickCount = ccSingle
|
|
ClickDir = cdUp
|
|
Command = 11
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end>
|
|
MouseSelActions = <
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbLeft
|
|
ClickCount = ccSingle
|
|
ClickDir = cdDown
|
|
Command = 9
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end>
|
|
Lines.Strings = (
|
|
'program New;'
|
|
''
|
|
'procedure TestingTest(a: Integer = 2; b: string = ''test'');'
|
|
'begin'
|
|
'end;'
|
|
''
|
|
'var'
|
|
' TIA: array of Integer = (1, 2, 3);'
|
|
''
|
|
'type'
|
|
' x = (thiz, iz, enum);'
|
|
' y = set of x;'
|
|
' z = TIntegerArray;'
|
|
'var'
|
|
' a: record'
|
|
' b: array of record'
|
|
' c: record'
|
|
' d: string;'
|
|
' end;'
|
|
' end;'
|
|
' end;'
|
|
' b: (ab, bb, cb);'
|
|
' c: string;'
|
|
' d: procedure(test: Integer);'
|
|
' xx: x;'
|
|
' yy: y;'
|
|
' zz: TIntegerArray;'
|
|
' i: Integer = 123;'
|
|
' stringetiestring: string = ''test'';'
|
|
'begin'
|
|
' with a, b[zz[i]], c do'
|
|
' d := ''test'';'
|
|
' '
|
|
' with a do'
|
|
' begin'
|
|
' with b[i] do'
|
|
' begin'
|
|
' c.d := ''test'';'
|
|
' end;'
|
|
' end;'
|
|
' '
|
|
' a.b[0].c.d := ''0'';'
|
|
' b := bb;'
|
|
' c := ''Just a test'';'
|
|
' xx := enum;'
|
|
' yy := [thiz, iz, enum];'
|
|
' d(123);'
|
|
'end.'
|
|
)
|
|
BracketHighlightStyle = sbhsBoth
|
|
OnCommandProcessed = eCommandProcessed
|
|
OnProcessUserCommand = eProcessUserCommand
|
|
OnStatusChange = eStatusChange
|
|
inline SynGutterPartList1: TSynGutterPartList
|
|
object SynGutterMarks1: TSynGutterMarks
|
|
Width = 23
|
|
end
|
|
object SynGutterLineNumber1: TSynGutterLineNumber
|
|
Width = 17
|
|
MouseActions = <>
|
|
MarkupInfo.Background = clBtnFace
|
|
MarkupInfo.Foreground = clNone
|
|
DigitCount = 2
|
|
ShowOnlyLineNumbersMultiplesOf = 1
|
|
ZeroStart = False
|
|
LeadingZeros = False
|
|
end
|
|
object SynGutterChanges1: TSynGutterChanges
|
|
Width = 4
|
|
ModifiedColor = 59900
|
|
SavedColor = clGreen
|
|
end
|
|
object SynGutterSeparator1: TSynGutterSeparator
|
|
Width = 2
|
|
end
|
|
object SynGutterCodeFolding1: TSynGutterCodeFolding
|
|
MouseActions = <
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbRight
|
|
ClickCount = ccSingle
|
|
ClickDir = cdUp
|
|
Command = 16
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = [ssShift]
|
|
Button = mbMiddle
|
|
ClickCount = ccAny
|
|
ClickDir = cdDown
|
|
Command = 14
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = [ssShift]
|
|
ShiftMask = [ssShift]
|
|
Button = mbMiddle
|
|
ClickCount = ccAny
|
|
ClickDir = cdDown
|
|
Command = 14
|
|
MoveCaret = False
|
|
Option = 1
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbLeft
|
|
ClickCount = ccAny
|
|
ClickDir = cdDown
|
|
Command = 0
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end>
|
|
MarkupInfo.Background = clNone
|
|
MarkupInfo.Foreground = clGray
|
|
MouseActionsExpanded = <
|
|
item
|
|
Shift = []
|
|
ShiftMask = []
|
|
Button = mbLeft
|
|
ClickCount = ccAny
|
|
ClickDir = cdDown
|
|
Command = 14
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end>
|
|
MouseActionsCollapsed = <
|
|
item
|
|
Shift = [ssCtrl]
|
|
ShiftMask = [ssCtrl]
|
|
Button = mbLeft
|
|
ClickCount = ccAny
|
|
ClickDir = cdDown
|
|
Command = 15
|
|
MoveCaret = False
|
|
Option = 0
|
|
Priority = 0
|
|
end
|
|
item
|
|
Shift = []
|
|
ShiftMask = [ssCtrl]
|
|
Button = mbLeft
|
|
ClickCount = ccAny
|
|
ClickDir = cdDown
|
|
Command = 15
|
|
MoveCaret = False
|
|
Option = 1
|
|
Priority = 0
|
|
end>
|
|
end
|
|
end
|
|
end
|
|
object pnlLeft: TPanel
|
|
Left = 0
|
|
Height = 448
|
|
Top = 0
|
|
Width = 432
|
|
Align = alLeft
|
|
ClientHeight = 448
|
|
ClientWidth = 432
|
|
FullRepaint = False
|
|
TabOrder = 1
|
|
object btnParse: TButton
|
|
Left = 8
|
|
Height = 25
|
|
Top = 8
|
|
Width = 128
|
|
Caption = 'Parse'
|
|
OnClick = btnParseClick
|
|
TabOrder = 0
|
|
end
|
|
object lstDump: TListBox
|
|
Left = 8
|
|
Height = 272
|
|
Top = 168
|
|
Width = 414
|
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
|
Columns = 1
|
|
IntegralHeight = True
|
|
ItemHeight = 0
|
|
Style = lbOwnerDrawFixed
|
|
TabOrder = 1
|
|
end
|
|
object txtDebug: TMemo
|
|
Left = 8
|
|
Height = 120
|
|
Top = 40
|
|
Width = 414
|
|
Anchors = [akTop, akLeft, akRight]
|
|
Lines.Strings = (
|
|
'Valistus Script Parser'
|
|
)
|
|
ScrollBars = ssBoth
|
|
TabOrder = 2
|
|
end
|
|
object btnComplete: TButton
|
|
Left = 152
|
|
Height = 25
|
|
Top = 8
|
|
Width = 128
|
|
Caption = 'Complete'
|
|
OnClick = btnCompleteClick
|
|
TabOrder = 3
|
|
end
|
|
object btnParams: TButton
|
|
Left = 296
|
|
Height = 25
|
|
Top = 8
|
|
Width = 128
|
|
Caption = 'Params'
|
|
OnClick = btnParamsClick
|
|
TabOrder = 4
|
|
end
|
|
end
|
|
object hlPas: TSynPasSyn
|
|
Enabled = False
|
|
CompilerMode = pcmDelphi
|
|
NestedComments = False
|
|
left = 928
|
|
end
|
|
end
|