|
SatDump 2.0.0-alpha-520736c72
|
Classes | |
| struct | Breakpoint |
| struct | Coordinates |
| struct | Glyph |
| struct | Identifier |
| struct | LanguageDefinition |
Public Types | |
| enum class | PaletteIndex { Default , Keyword , Number , String , CharLiteral , Punctuation , Preprocessor , Identifier , KnownIdentifier , PreprocIdentifier , Comment , MultiLineComment , Background , Cursor , Selection , ErrorMarker , Breakpoint , LineNumber , CurrentLineFill , CurrentLineFillInactive , CurrentLineEdge , Max } |
| enum class | SelectionMode { Normal , Word , Line } |
| typedef std::string | String |
| typedef std::unordered_map< std::string, Identifier > | Identifiers |
| typedef std::unordered_set< std::string > | Keywords |
| typedef std::map< int, std::string > | ErrorMarkers |
| typedef std::unordered_set< int > | Breakpoints |
| typedef std::array< ImU32,(unsigned) PaletteIndex::Max > | Palette |
| typedef uint8_t | Char |
| typedef std::vector< Glyph > | Line |
| typedef std::vector< Line > | Lines |
Public Member Functions | |
| void | SetLanguageDefinition (const LanguageDefinition &aLanguageDef) |
| const LanguageDefinition & | GetLanguageDefinition () const |
| const Palette & | GetPalette () const |
| void | SetPalette (const Palette &aValue) |
| void | SetErrorMarkers (const ErrorMarkers &aMarkers) |
| void | SetBreakpoints (const Breakpoints &aMarkers) |
| void | Render (const char *aTitle, const ImVec2 &aSize=ImVec2(), bool aBorder=false) |
| void | SetText (const std::string &aText) |
| std::string | GetText () const |
| void | SetTextLines (const std::vector< std::string > &aLines) |
| std::vector< std::string > | GetTextLines () const |
| std::string | GetSelectedText () const |
| std::string | GetCurrentLineText () const |
| int | GetTotalLines () const |
| bool | IsOverwrite () const |
| void | SetReadOnly (bool aValue) |
| bool | IsReadOnly () const |
| bool | IsTextChanged () const |
| bool | IsCursorPositionChanged () const |
| bool | IsColorizerEnabled () const |
| void | SetColorizerEnable (bool aValue) |
| Coordinates | GetCursorPosition () const |
| void | SetCursorPosition (const Coordinates &aPosition) |
| void | SetHandleMouseInputs (bool aValue) |
| bool | IsHandleMouseInputsEnabled () const |
| void | SetHandleKeyboardInputs (bool aValue) |
| bool | IsHandleKeyboardInputsEnabled () const |
| void | SetImGuiChildIgnored (bool aValue) |
| bool | IsImGuiChildIgnored () const |
| void | SetShowWhitespaces (bool aValue) |
| bool | IsShowingWhitespaces () const |
| void | SetTabSize (int aValue) |
| int | GetTabSize () const |
| void | InsertText (const std::string &aValue) |
| void | InsertText (const char *aValue) |
| void | MoveUp (int aAmount=1, bool aSelect=false) |
| void | MoveDown (int aAmount=1, bool aSelect=false) |
| void | MoveLeft (int aAmount=1, bool aSelect=false, bool aWordMode=false) |
| void | MoveRight (int aAmount=1, bool aSelect=false, bool aWordMode=false) |
| void | MoveTop (bool aSelect=false) |
| void | MoveBottom (bool aSelect=false) |
| void | MoveHome (bool aSelect=false) |
| void | MoveEnd (bool aSelect=false) |
| void | SetSelectionStart (const Coordinates &aPosition) |
| void | SetSelectionEnd (const Coordinates &aPosition) |
| void | SetSelection (const Coordinates &aStart, const Coordinates &aEnd, SelectionMode aMode=SelectionMode::Normal) |
| void | SelectWordUnderCursor () |
| void | SelectAll () |
| bool | HasSelection () const |
| void | Copy () |
| void | Cut () |
| void | Paste () |
| void | Delete () |
| bool | CanUndo () const |
| bool | CanRedo () const |
| void | Undo (int aSteps=1) |
| void | Redo (int aSteps=1) |
Static Public Member Functions | |
| static const Palette & | GetDarkPalette () |
| static const Palette & | GetLightPalette () |
| static const Palette & | GetRetroBluePalette () |