Portfolio Details
Discover the projects and case studies that showcase my expertise and passion for software development, highlighting my commitment to innovative solutions and effective problem-solving.
Project information
- Category: C#.net
- Client: Karlstad University
- Project date: 03 March, 2024
- Project URL: github.com
Text Editor in C#.NET
This project focuses on creating a simple text editor using C#.NET, allowing users to edit, open, and save text files—similar to a basic word processor. The program features a text area where users can write and modify text, with options to save files or open existing ones for editing. The editor supports "Save" and "Save As" functionalities, allowing users to choose where to save their files via a file dialog.
The text editor was developed using either UWP, WPF, or WinForms, and it is compatible with .NET 6.0 or newer. The program ensures stability with exception handling to prevent crashes during operation. User input is handled efficiently, and the program follows Microsoft's recommendations for interface programming, ensuring a user-friendly experience.
Additional features include the ability to clear the text area, show unsaved changes in the title bar, and prompt users to save unsaved work before creating a new file or opening an existing one. The editor also allows users to track file changes, display asterisks when unsaved edits are present, and maintain consistency with standard naming conventions for new files.
In later versions, additional functionality was implemented, such as a status bar showing the number of characters (with and without spaces), words, and lines in the document. The program also asks users to save unsaved work when exiting. Another enhancement includes "drag and drop" functionality, allowing users to open or append files based on specific key combinations (e.g., holding "ctrl" or "shift").