Welcome to my lightweight Text-Editor app! This application allows you to create, take, edit and insert text files. It has a barebones interface (this will be shown down the slides) which allows you to do the minimum essentials for note taking.
Simple download the texteditor_Bertrand.exe file and double click to open. Select "Trust this application" and run the exe file. The text-editor screen will appear and you can begin using it!
Unfortunately, there is no available version for Mac/Linux users at the moment.
New File: Starting on a fresh new file. Under theFiletab on the top-left corner, click on theNew Filebutton.Open File: Opening an existing text file to edit Under theFiletab on the top-left corner, click on theOpen Filebutton or pressCtrl-Oon your keyboard.Insert File: Insert text from an existing text file into your current editor. Under theFiletab on the top-left corner, click on theInsert Filebutton or pressCtrl-Ion your keyboard.Save File: Save your existing changes on the text editor. If no save file has been created before, the editor will prompt you to create a new save file. Under theFiletab on the top-left corner, click on theSave Filebutton or pressCtrl-Son your keyboard.Save File As: Save your existing changes on the text editor as a file name of your choice. Under theFiletab on the top-left corner, click on theSave File As...button or pressCtrl-Shift-Son your keyboard.New View: Duplicate your existing text editor page onto a new text editor page. Under theFiletab on the top-left corner, click on theNew Viewbutton or pressAlt-Von your keyboard.Close View: Close your existing text editor page. Under theFiletab on the top-left corner, click on theClose Viewbutton or pressCtrl-Won your keyboard.Exit: Exit the text editor application Under theFiletab on the top-left corner, click on theExitbutton or pressCtrl-Qon your keyboard.
Undo: Undo your last added word. Under theEdittab on the top-left corner, click on theUndobutton or pressCtrl-Zon your keyboard.
The undo feature only works with a maximum of one change. Tapping undo a second time simply "Redo" the undone change.
Cut File: Cut a selected text section. Under theEdittab on the top-left corner, click on theCutbutton or pressCtrl-Xon your keyboard.Copy: Copy a selected text section. Under theEdittab on the top-left corner, click on theCopybutton or pressCtrl-Con your keyboard.Paste: Paste an already-copied text section in. Under theEdittab on the top-left corner, click on thePastebutton or pressCtrl-Von your keyboard.
Find: Search for a specific string. Under theSearchtab on the top-left corner, click on theFindbutton or pressCtrl-Fon your keyboard.Find Again: Search for the previously searched string again. Under theSearchtab on the top-left corner, click on theFind Againbutton or pressCtrl-Gon your keyboard.Replace: Replace a specified text with another text of your choosing. Under theSearchtab on the top-left corner, click on theReplacebutton or pressCtrl-Ron your keyboard.Replace Again: Replace a specified text with the last replace parameters. Under theSearchtab on the top-left corner, click on theReplace Againbutton or pressCtrl-Ton your keyboard.
Please highlight the section of text you want the operation to work for before using any of the "Search Features"
- Code Keywords: C/C++ code keywords will be highlighted in blue
- Type Keywords: C/C++ type keywords will be highlighted in red
All supported words are shown in the image above. Only C/C++ support for now.
The text editor application was built using Visual Studio 2017 and the FLTK (Version 1.3.4) api was called for the build. You can download FLTK at this link and you can follow this guide for the installation process on visual studio 2017.
Please follow the guide step-by-step until:
3. Go to: the fluid folder in your fltk source folderas the following steps of the guide has already been incorporated in my project
Using Visual Studio, open Project1.sln found in the repository. The source codes are found in /Project directory of the repository. Do not change the project properties as it will lead to unwanted behavior. You should either use Debug mode or Release mode when running the project.
You will find the main method stored in /Project1/fltk_editor.cpp and the global variables stored in /Project1/EditorWindow.cpp



