packages feed

spade-0.1.0.0: src/IDE/Common.hs

module IDE.Common where

import UI.Widgets.Common
import Common
import Interpreter.Common

data EditAction
  = Cut
  | Copy
  | Paste
  | SelectAll
  deriving Show

data IDEEvent
  = IDETerminalEvent TerminalEvent
  | IDEReqEditorContent
  | IDEParseErrorUpdate (Maybe (Location, Text))
  | IDEACUpdateIdentifiers [Text]
  | IDEDraw
  | IDEToggleHelp
  | IDESave
  | IDEExit
  | IDEEdit EditAction
  | IDEBeautify
  | IDEClearLog
  | IDEStep
  | IDEDebugUpdate (Maybe DebugState)
  | IDERun
  deriving Show