summaryrefslogtreecommitdiffhomepage
path: root/example/text_editor_example/example.cpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-07 06:59:38 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-07 06:59:38 +0100
commit24767406a9a1ee0bd53c20175ed7a7d2fe166d29 (patch)
tree223c7e1cf7eff23dc77f4d72cfb2fe5fd6c7f4d5 /example/text_editor_example/example.cpp
parentb30b55c48fd9eb64f3555f19820279792f69703c (diff)
[CHORE] Introduce replacement of text_processor example, text_editor.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/text_editor_example/example.cpp')
-rw-r--r--example/text_editor_example/example.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/example/text_editor_example/example.cpp b/example/text_editor_example/example.cpp
new file mode 100644
index 0000000..bc2bffd
--- /dev/null
+++ b/example/text_editor_example/example.cpp
@@ -0,0 +1,18 @@
+/*
+ * File: example.cpp
+ * Purpose: Rope example.
+ * Author: Amlal El Mahrouss (amlal@nekernel.org)
+ * Copyright 2026, Amlal El Mahrouss, licensed under the Boost Software License.
+ */
+
+#include "texteditor.hpp"
+
+int main(int argc, char** argv)
+{
+ QApplication app(argc, argv);
+ TTextEditor win;
+
+ win.show();
+
+ return app.exec();
+}