#include "course_editor.h" CourseEditor :: CourseEditor (int rows, int cols) : FullTextEditor(rows, cols, 8, Reversed, false, false, NoCaret) { Listen(allEvents); } void CourseEditor :: Handle (Event& e) { if ((e.eventType == DownEvent) and (e.button == LEFTMOUSE)) { CaretStyle(BarCaret); Update(); } if (e.eventType == LeaveEvent) { CaretStyle(NoCaret); Update(); } FullTextEditor::Handle(e); }