29#include <FL/Fl_Text_Editor.H>
31#include <sptk5/gui/CLayoutClient.h>
48 :
public Fl_Text_Editor
60 int m_lastCursorPosition;
75#ifdef __COMPATIBILITY_MODE__
84 CEditor(
int x,
int y,
int w,
int h,
const char* label);
Text editor widget.
Definition: CEditor.h:50
int handle(int event) override
bool preferredSize(int &w, int &h) override
Fl_Text_Buffer * styleBuffer()
Definition: CEditor.h:103
CEditor(int layoutSize=100, CLayoutAlign layoutAlign=CLayoutAlign::TOP)
Fl_Text_Buffer * textBuffer()
Definition: CEditor.h:95
void cursorRowCol(int &row, int &col)
bool wrapMode() const
Definition: CEditor.h:126
Definition: CLayoutClient.h:82
CLayoutAlign
Definition: CLayoutClient.h:44