A basic text editor built with the Windows API.
File Operations
- Create New Window
- Create New File
- Open Existing File
- Save
- Save As
- Prompt to Save Before Exiting
Edit Operations
- Cut, Copy, and Paste
- Undo and Redo
- Select All
- Find
- Match Whole Word
- Match Case
- Direction (Up/Down)
- Replace/Replace All
- Match Whole Word
- Match Case
Hotkeys
- Displayed Next to Controls
- Language: C++
- Standard: C++20
- Dependencies: WinApi
- Build System: Premake5
- Template: This project is based on TheCherno/ProjectTemplate
- Clone this repository:
git clone https://github.com/LT2H/WinApiTextEditor.git
- Open the
Scriptsdirectory and runSetup-Window.bat. This script uses Premake5 inside theVendor/Binaries/Premakedirectory to generate a.slnfile. By default, it is configured for Visual Studio 2022 on Windows.cd WinApiTextEditor/Scripts && ./Setup-Windows.bat
- This repository is licensed under UNLICENSE (see UNLICENSE.txt for details).
- Premake is licensed under BSD 3-Clause (see included LICENSE.txt file for more details)
