# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,144,80)
  Persistent = True
  Arrangement = Arrange.Vertical
  { mnuEditor Menu
    Enabled = False
    { mnuUndo Menu
      Action = ".undo"
      Text = ("Undo")
      Picture = Picture["icon:/small/undo"]
      Shortcut = "Ctrl+Z"
    }
    { mnuRedo Menu
      Action = ".redo"
      Text = ("Redo")
      Picture = Picture["icon:/small/redo"]
      Shortcut = "Ctrl+Y"
    }
    { mnuSepUndo Menu
    }
    { mnuCut Menu
      Action = ".cut"
      Text = ("Cut")
      Picture = Picture["icon:/small/cut"]
      Shortcut = "Ctrl+X"
    }
    { mnuCopy Menu
      Action = ".copy"
      Text = ("Copy")
      Picture = Picture["icon:/small/copy"]
      Shortcut = "Ctrl+C"
    }
    { mnuPaste Menu
      Action = ".paste"
      Text = ("Paste")
      Picture = Picture["icon:/small/paste"]
      Shortcut = "Ctrl+V"
    }
    { mnuAdvanced Menu
      Text = ("Advanced")
      { mnuUpperCase Menu
        Action = ".ucase"
        Text = ("Upper case")
        Picture = Picture["icon:/small/text-upper"]
        Shortcut = "Ctrl+Shift+U"
      }
      { mnuLowerCase Menu
        Action = ".lcase"
        Text = ("Lower case")
        Picture = Picture["icon:/small/text-lower"]
        Shortcut = "Ctrl+Shift+L"
      }
      { Menu2 Menu
      }
      { mnuComment Menu
        Action = ".comment"
        Text = ("Comment")
        Picture = Picture["img/32/comment.png"]
        Shortcut = "Ctrl+K"
      }
      { mnuUncomment Menu
        Action = ".uncomment"
        Text = ("Uncomment")
        Picture = Picture["img/32/uncomment.png"]
        Shortcut = "Ctrl+U"
      }
      { mnuSepComment Menu
      }
      { mnuPasteSpecial Menu
        Action = ".paste-special"
        Text = ("Paste special") & "..."
        Picture = Picture["icon:/small/paste-special"]
        Shortcut = "Ctrl+Shift+V"
      }
      { mnuPretty Menu
        Action = ".pretty"
        Text = ("Format code")
        Picture = Picture["icon:/small/wizard"]
        Shortcut = "Ctrl+Shift+T"
      }
      { mnuSortProc Menu
        Text = ("Sort procedures") & "..."
        Picture = Picture["icon:/small/sort-ascent"]
        Visible = False
      }
      { Menu6 Menu
      }
      { mnuInsertColor Menu
        Action = ".color"
        Text = ("Insert color") & "..."
        Picture = Picture["icon:/small/color"]
        Shortcut = "Ctrl+Shift+C"
      }
    }
    { Menu3 Menu
    }
    { mnuSelectAll Menu
      Action = ".select-all"
      Text = Shortcut(("Select All"), "A")
      Picture = Picture["icon:/small/select-all"]
      Shortcut = "Ctrl+A"
    }
    { Menu1 Menu
    }
    { mnuGoto Menu
      Text = ("Go to")
      Visible = False
    }
    { mnuGotoLine Menu
      Action = ".goto-line"
      Text = ("Go to line") & "..."
      Shortcut = "Ctrl+G"
    }
    { mnuBookmark Menu
      Text = ("Bookmarks")
    }
    { mnuSepGoto Menu
    }
    { mnuDefinition Menu
      Action = ".find-definition"
      Text = ("Find definition")
      Picture = Picture["icon:/small/info"]
      Shortcut = "F2"
    }
    { mnuFindNext Menu
      Action = "find-next"
      Text = ("Find next")
      Picture = Picture["icon:/small/down"]
      Shortcut = "F3"
    }
    { mnuFindPrevious Menu
      Action = "find-previous"
      Text = ("Find previous")
      Picture = Picture["icon:/small/up"]
      Shortcut = "Shift+F3"
    }
    { mnuCaller Menu
      Action = ".caller"
      Text = ("Callers") & "..."
      Picture = Picture["img/128/caller.png"]
    }
    { mnuSep4 Menu
    }
    { mnuEditorView Menu
      Text = ("View")
      { mnuWrap Menu
        Action = ".wrap"
        Text = ("Automatic word wrap")
        Picture = Picture["icon:/small/wrap"]
        Toggle = True
      }
      { mnuNoSplit Menu
        Action = ".view-nosplit"
        Text = ("No split")
        Picture = Picture["icon:/small/view-normal"]
      }
      { mnuHorizontalSplit Menu
        Action = ".view-hsplit"
        Text = ("Horizontal split")
        Picture = Picture["icon:/small/view-split-h"]
        Shortcut = "Ctrl+H"
      }
      { mnuVerticalSplit Menu
        Action = ".view-vsplit"
        Text = ("Vertical split")
        Picture = Picture["icon:/small/view-split-v"]
        Shortcut = "Ctrl+J"
      }
    }
    { Menu5 Menu
    }
    { mnuUntil Menu
      Text = Shortcut(("Run until current line"), "u")
      Picture = Picture["icon:/small/debug-cursor"]
      Shortcut = "Shift+F5"
    }
    { mnuBreakpoint Menu
      Action = ".break"
      Text = Shortcut(("Toggle breakpoint"), "b")
      Picture = Picture["icon:/small/halt"]
      Shortcut = "F9"
    }
    { mnuWatch Menu
      Action = ".watch"
      Text = Shortcut(("Watch expression"), "W")
      Picture = Picture["icon:/small/watch"]
    }
    { mnuSepBookmark Menu
    }
    { mnuForm Menu
      Action = ".show-form"
      Text = ("Open form")
      Picture = Picture["icon:/small/right"]
      Shortcut = "F12"
    }
    { mnuRun Menu
      Action = ".run-me"
      Text = ("Run this class")
      Picture = Picture["icon:/small/play"]
      Shortcut = "Alt+F5"
    }
    { mnuSep5 Menu
    }
    { mnuLocked Menu
      Action = ".locked"
      Text = ("Locked")
      Picture = Picture["icon:/small/lock"]
      Toggle = True
    }
    { mnuPrint Menu
      Text = ("Print") & "..."
      Picture = Picture["icon:/small/print"]
      Shortcut = "Ctrl+P"
    }
    { mnuReload Menu
      Action = ".reload"
      Text = ("Reload")
      Picture = Picture["icon:/small/revert"]
    }
    { mnuSave Menu
      Action = ".save"
      Text = ("Save")
      Picture = Picture["icon:/small/save"]
      Shortcut = "Ctrl+S"
    }
    { Menu7 Menu
    }
    { mnuClose Menu
      Action = ".close"
      Text = ("Close")
      Picture = Picture["icon:/small/close"]
      Shortcut = "Ctrl+W"
    }
  }
  { mnuPasteAs Menu
    { mnuPasteAsString Menu
      Action = ".paste-string"
      Text = ("Paste as string")
    }
    { mnuPasteAsStringSplit Menu
      Action = ".paste-string-split"
      Text = ("Paste as multi-line string")
    }
    { mnuPasteAsComment Menu
      Action = ".paste-comment"
      Text = ("Paste as comments")
    }
    { Menu4 Menu
    }
    { mnuPasteSpecial2 Menu mnuPasteSpecial
      Name = "mnuPasteSpecial2"
      Text = ("Paste special") & "..."
      Picture = Picture["icon:/small/paste"]
    }
  }
  { panToolBar ToolBar
    MoveScaled(0,0,143,4)
    Key = "editor"
    Text = ("Editor")
    Separator = True
    { btnForm ToolButton mnuForm
      Name = "btnForm"
      MoveScaled(0,0,4,4)
      ToolTip = ("Form")
      Action = ".show-form"
      Picture = Picture["icon:/small/right"]
    }
    { btnProc MenuButton
      MoveScaled(4,0,16,4)
      Background = Color.TextBackground
      Foreground = Color.TextForeground
      Mouse = Cursor.Pointing
      Action = ".proc"
      Text = ("Procedure list")
      MenuOnly = True
    }
    { btnSave ToolButton mnuSave
      Name = "btnSave"
      MoveScaled(21,0,4,4)
      ToolTip = ("Save")
      Action = ".save"
      Picture = Picture["icon:/small/save"]
    }
    { btnReload ToolButton mnuReload
      Name = "btnReload"
      MoveScaled(24,0,4,4)
      ToolTip = ("Reload")
      Action = ".reload"
      Picture = Picture["icon:/small/refresh"]
    }
    { btnPrint ToolButton mnuPrint
      Name = "btnPrint"
      MoveScaled(27,0,4,4)
      ToolTip = ("Print")
      Action = ".print"
      Picture = Picture["icon:/small/print"]
    }
    { ToolButton39 ToolButton
      MoveScaled(30,0,4,4)
      Visible = False
      ToolTip = ("Run this class")
      Action = ".run-me"
      Picture = Picture["icon:/small/play"]
    }
    { Separator4 Separator
      MoveScaled(33,0,1,4)
    }
    { btnUndo ToolButton mnuUndo
      Name = "btnUndo"
      MoveScaled(34,0,4,4)
      ToolTip = ("Undo")
      Action = ".undo"
      Picture = Picture["icon:/small/undo"]
    }
    { btnRedo ToolButton mnuRedo
      Name = "btnRedo"
      MoveScaled(37,0,4,4)
      ToolTip = ("Redo")
      Action = ".redo"
      Picture = Picture["icon:/small/redo"]
    }
    { Separator3 Separator
      MoveScaled(41,0,1,4)
    }
    { btnCut ToolButton mnuCut
      Name = "btnCut"
      MoveScaled(42,0,4,4)
      Visible = False
      ToolTip = ("Cut")
      Action = ".cut"
      Picture = Picture["icon:/small/cut"]
    }
    { btnCopy ToolButton mnuCopy
      Name = "btnCopy"
      MoveScaled(45,0,4,4)
      Visible = False
      ToolTip = ("Copy")
      Action = ".copy"
      Picture = Picture["icon:/small/copy"]
    }
    { btnPaste MenuButton mnuPaste
      Name = "btnPaste"
      MoveScaled(48,0,6,4)
      ToolTip = ("Paste")
      Action = ".paste"
      Picture = Picture["icon:/small/paste"]
      Border = False
      Menu = "mnuPasteAs"
    }
    { btnPasteSpecial ToolButton mnuPasteSpecial
      Name = "btnPasteSpecial"
      MoveScaled(53,0,4,4)
      Visible = False
      ToolTip = ("Paste special")
      Action = ".paste-special"
      AutoResize = True
      Picture = Picture["icon:/small/paste-special"]
    }
    { btnBookmark MenuButton
      MoveScaled(57,0,6,4)
      Visible = False
      ToolTip = ("Bookmarks")
      Action = ".bookmark"
      Picture = Picture["icon:/small/bookmark"]
      Border = False
      Menu = "mnuBookmark"
    }
    { btnInsertColor MenuButton
      MoveScaled(62,0,6,4)
      ToolTip = ("Insert color")
      Action = ".color"
      Picture = Picture["icon:/small/color"]
      Border = False
    }
    { btnInsertDate MenuButton
      MoveScaled(67,0,6,4)
      Visible = False
      ToolTip = ("Insert today's date")
      Action = ".date"
      Picture = Picture["icon:/small/calendar"]
      Border = False
      MenuOnly = True
    }
    { btnInsertChar MenuButton
      MoveScaled(72,0,6,4)
      ToolTip = ("Insert special character")
      Action = ".char"
      Picture = Picture["icon:/small/shortcut"]
      Border = False
      MenuOnly = True
    }
    { btnIndent ToolButton
      MoveScaled(77,0,4,4)
      Visible = False
      ToolTip = ("Indent")
      Action = ".indent"
      Picture = Picture["icon:/small/indent"]
    }
    { btnUnindent ToolButton
      MoveScaled(80,0,4,4)
      Visible = False
      ToolTip = ("Unindent")
      Action = ".unindent"
      Picture = Picture["icon:/small/unindent"]
    }
    { btnComment ToolButton mnuComment
      Name = "btnComment"
      MoveScaled(83,0,4,4)
      ToolTip = ("Comment")
      Action = ".comment"
      Picture = Picture["img/32/comment.png"]
    }
    { btnUncomment ToolButton mnuUncomment
      Name = "btnUncomment"
      MoveScaled(86,0,4,4)
      ToolTip = ("Uncomment")
      Action = ".uncomment"
      Picture = Picture["img/32/uncomment.png"]
    }
    { btnPretty ToolButton mnuPretty
      Name = "btnPretty"
      MoveScaled(89,0,4,4)
      Visible = False
      ToolTip = ("Make code pretty")
      Action = ".pretty"
      Picture = Picture["icon:/small/wizard"]
    }
    { btnBreakpoint ToolButton mnuBreakpoint
      Name = "btnBreakpoint"
      MoveScaled(92,0,4,4)
      ToolTip = ("Toggle breakpoint")
      Action = ".break"
      Picture = Picture["icon:/small/halt"]
    }
    { btnWatch ToolButton mnuWatch
      Name = "btnWatch"
      MoveScaled(95,0,4,4)
      ToolTip = ("Watch expression")
      Action = ".watch"
      Picture = Picture["icon:/small/watch"]
    }
    { btnDefinition ToolButton mnuDefinition
      Name = "btnDefinition"
      MoveScaled(98,0,4,4)
      Visible = False
      ToolTip = ("Find definition")
      Action = ".find-definition"
      Picture = Picture["icon:/small/info"]
    }
    { btnNoSplit ToolButton mnuNoSplit
      Name = "btnNoSplit"
      MoveScaled(101,0,4,4)
      Visible = False
      ToolTip = ("No split")
      Action = ".view-nosplit"
      Picture = Picture["icon:/small/view-normal"]
    }
    { btnHorizontalSplit ToolButton mnuHorizontalSplit
      Name = "btnHorizontalSplit"
      MoveScaled(104,0,4,4)
      Visible = False
      ToolTip = ("Horizontal split")
      Action = ".view-hsplit"
      Picture = Picture["icon:/small/view-split-h"]
    }
    { btnVerticalSplit ToolButton mnuVerticalSplit
      Name = "btnVerticalSplit"
      MoveScaled(107,0,4,4)
      Visible = False
      ToolTip = ("Vertical split")
      Action = ".view-vsplit"
      Picture = Picture["icon:/small/view-split-v"]
    }
    { btnCaller ToolButton mnuCaller
      Name = "btnCaller"
      MoveScaled(111,0,4,4)
      ToolTip = ("Show callers")
      Action = ".caller"
      AutoResize = True
      Picture = Picture["img/128/caller.png"]
    }
    { Panel2 Panel
      MoveScaled(115,0,2,4)
      Expand = True
    }
    { btnDiffPrevious ToolButton
      MoveScaled(119,0,4,4)
      ToolTip = ("Previous modification")
      Action = ".diff-previous"
      Picture = Picture["icon:/small/rewind"]
    }
    { btnDiffNext ToolButton
      MoveScaled(122,0,4,4)
      ToolTip = ("Next modification")
      Action = ".diff-next"
      Picture = Picture["icon:/small/forward"]
    }
    { btnDiff ToolButton
      MoveScaled(125,0,4,4)
      ToolTip = ("Show modifications")
      Action = ".diff"
      AutoResize = True
      Picture = Picture["icon:/small/modified"]
      Toggle = True
    }
    { Separator1 Separator
      MoveScaled(130,0,1,4)
    }
    { btnWrap ToolButton
      MoveScaled(133,0,4,4)
      ToolTip = ("Automatic word wrap")
      Action = ".wrap"
      Picture = Picture["icon:/small/wrap"]
      Toggle = True
    }
    { btnLocked ToolButton
      MoveScaled(138,0,4,4)
      ToolTip = ("Lock / unlock file")
      Action = ".locked"
      Picture = Picture["icon:/small/lock"]
      Toggle = True
    }
  }
  { Panel1 Panel
    MoveScaled(11,9,38,63)
    Background = Color.TextBackground
    Expand = True
    Arrangement = Arrange.Fill
    { edtEditor TextEditor Editors
      Name = "edtEditor"
      MoveScaled(4,1,24,16)
      Expand = True
      Direction = Direction.LeftToRight
      Border = False
    }
    { splHorizontal Splitter
      MoveScaled(3,19,22,18)
      Visible = False
      Expand = True
    }
    { splVertical Splitter
      MoveScaled(2,41,22,18)
      Visible = False
      Expand = True
      Arrangement = Arrange.Vertical
    }
  }
  { timShowHelp #Timer
    #MoveScaled(62,16)
  }
  { timProc #Timer
    #MoveScaled(61,34)
    Delay = 50
  }
}

# Gambas Action File 3.0

{ Actions
  { Action bookmark
    Text = "Bookmarks"
    Picture = "icon:/small/bookmark"
  }
  { Action break
    Text = "Toggle breakpoint"
    Shortcut = "F9"
    Picture = "icon:/small/halt"
  }
  { Action caller
    Text = "Callers"
    Shortcut = ""
    Picture = "img/128/caller.png"
  }
  { Action char
    Text = "Insert special character"
    Picture = "icon:/small/shortcut"
  }
  { Action close
    Text = "Close"
    Shortcut = "Ctrl+W"
    Picture = "icon:/small/close"
  }
  { Action color
    Text = "Insert color"
    Shortcut = "Ctrl+Shift+C"
    Picture = "icon:/small/color"
  }
  { Action comment
    Text = "Comment"
    Shortcut = "Ctrl+K"
    Picture = "img/32/comment.png"
  }
  { Action copy
    Text = "Copy"
    Shortcut = "Ctrl+C"
    Picture = "icon:/small/copy"
  }
  { Action cut
    Text = "Cut"
    Shortcut = "Ctrl+X"
    Picture = "icon:/small/cut"
  }
  { Action date
    Text = "Insert today's date"
    Picture = "icon:/small/calendar"
  }
  { Action diff
    Text = "Show modifications"
    Picture = "icon:/small/modified"
  }
  { Action diff-next
    Text = "Next modification"
    Picture = "icon:/small/forward"
  }
  { Action diff-previous
    Text = "Previous modification"
    Picture = "icon:/small/rewind"
  }
  { Action find-definition
    Text = "Find definition"
    Shortcut = "F2"
    Picture = "icon:/small/info"
  }
  { Action find-next
    Text = "Find next"
    Shortcut = "F3"
    Picture = "icon:/small/down"
  }
  { Action find-previous
    Text = "Find previous"
    Shortcut = "Shift+F3"
    Picture = "icon:/small/up"
  }
  { Action goto-line
    Text = "Go to line"
    Shortcut = "Ctrl+G"
  }
  { Action indent
    Text = "Indent"
    Picture = "icon:/small/indent"
  }
  { Action lcase
    Text = "Lower case"
    Shortcut = "Ctrl+Shift+L"
    Picture = "icon:/small/text-lower"
  }
  { Action locked
    Text = "Locked"
    Shortcut = ""
    Picture = "icon:/small/lock"
  }
  { Action paste
    Text = "Paste"
    Shortcut = "Ctrl+V"
    Picture = "icon:/small/paste"
  }
  { Action paste-comment
    Text = "Paste as comments"
    Shortcut = ""
  }
  { Action paste-special
    Text = "Paste special"
    Shortcut = "Ctrl+Shift+V"
    Picture = "icon:/small/paste-special"
  }
  { Action paste-string
    Text = "Paste as string"
    Shortcut = ""
  }
  { Action paste-string-split
    Text = "Paste as multi-line string"
    Shortcut = ""
  }
  { Action pretty
    Text = "Format code"
    Shortcut = "Ctrl+Shift+T"
    Picture = "icon:/small/wizard"
  }
  { Action print
    Text = "Print"
    Picture = "icon:/small/print"
  }
  { Action proc
    Text = "Procedure list"
    Picture = "$MenuButton"
  }
  { Action redo
    Text = "Redo"
    Shortcut = "Ctrl+Y"
    Picture = "icon:/small/redo"
  }
  { Action reload
    Text = "Reload"
    Shortcut = ""
    Picture = "icon:/small/refresh"
  }
  { Action run-me
    Text = "Run this class"
    Shortcut = "Alt+F5"
    Picture = "icon:/small/play"
  }
  { Action save
    Text = "Save"
    Shortcut = "Ctrl+S"
    Picture = "icon:/small/save"
  }
  { Action select-all
    Text = "Select All"
    Shortcut = "Ctrl+A"
    Picture = "icon:/small/select-all"
  }
  { Action show-form
    Text = "Open form"
    Shortcut = "F12"
    Picture = "icon:/small/right"
  }
  { Action ucase
    Text = "Upper case"
    Shortcut = "Ctrl+Shift+U"
    Picture = "icon:/small/text-upper"
  }
  { Action uncomment
    Text = "Uncomment"
    Shortcut = "Ctrl+U"
    Picture = "img/32/uncomment.png"
  }
  { Action undo
    Text = "Undo"
    Shortcut = "Ctrl+Z"
    Picture = "icon:/small/undo"
  }
  { Action unindent
    Text = "Unindent"
    Picture = "icon:/small/unindent"
  }
  { Action view-hsplit
    Text = "Horizontal split"
    Shortcut = "Ctrl+H"
    Picture = "icon:/small/view-split-h"
  }
  { Action view-nosplit
    Text = "No split"
    Shortcut = ""
    Picture = "icon:/small/view-normal"
  }
  { Action view-vsplit
    Text = "Vertical split"
    Shortcut = "Ctrl+J"
    Picture = "icon:/small/view-split-v"
  }
  { Action watch
    Text = "Watch expression"
    Shortcut = ""
    Picture = "icon:/small/watch"
  }
  { Action wrap
    Text = "Automatic word wrap"
    Shortcut = ""
    Picture = "icon:/small/wrap"
  }
}

{ Toolbars
  { Toolbar editor
    Text = "Editor"
    List = "show-form,proc,save,reload,print,run-me,undo,redo,cut,copy,paste,paste-special,bookmark,color,date,char,indent,unindent,comment,uncomment,pretty,break,watch,find-definition,view-nosplit,view-hsplit,view-vsplit,caller,diff-previous,diff-next,diff,wrap,locked"
    Default = "show-form,proc,save,reload,print,|,undo,redo,|,paste,color,char,comment,uncomment,break,watch,caller,~,diff-previous,diff-next,diff,|,wrap,locked"
  }
}
