A lightweight, cross-platform text editor built with C++ and Qt6, featuring a modern tabbed interface and essential text editing capabilities.
- Tabbed Interface: Work with multiple documents simultaneously using an intuitive tab-based system
- File Operations: Open, save, and create new text files
- Find & Replace: Search functionality with support for:
- Case-sensitive search
- Whole word matching
- Find and replace
- Replace all occurrences
- Print Support: Print documents directly from the editor with print preview
- Drag & Drop: Drag files directly into the editor to open them
- Customizable Appearance:
- Font selection
- Color customization
- Modern Design: Clean, light-themed interface using Qt Fusion style
- Session Persistence: Remembers window geometry between sessions
- Multi-language support (English and Czech)
- Automatic language detection based on system locale
- CMake 3.16 or higher
- Qt 5 or Qt 6 (with the following components):
- Qt Widgets
- Qt PrintSupport
- Qt LinguistTools (for translations)
- C++17 compatible compiler
- Clone the repository:
git clone https://github.com/Hermelin13/EdiText.git
cd EdiText- Create a build directory:
mkdir build
cd build- Configure the project with CMake:
cmake ..- Build the application:
cmake --build .- Run the application:
./EdiTextEdiText/
├── main.cpp # Application entry point
├── mainwindow.* # Main application window
├── window.* # Text editor widget implementation
├── tabbedwindow.* # Tab management system
├── finddialog.* # Find and replace dialog
├── search.* # Search functionality
├── resources. qrc # Qt resource file
├── res/ # Resources (icons, etc.)
├── EdiText_cs.ts # Czech translation
├── EdiText_en.ts # English translation
└── CMakeLists.txt # Build configuration
- Ctrl+N: Create a new file
- Ctrl+O: Open a file
- Ctrl+S: Save file
- Ctrl+F: Open find/replace dialog
- Ctrl+P: Print document
- Ctrl+W: Close current tab
The integrated find and replace dialog offers:
- Search with case sensitivity option
- Whole word matching
- Replace individual occurrences
- Replace all matches at once
- Open multiple files in separate tabs
- Close individual tabs
- Choose from various fonts and font styles
- Customize text color
This project is open source and available for free use, modification, and distribution.
Developed at UTB (University of Technology in Brno).
Developed by Hermelin13