Add native port

This commit is contained in:
No Time To Play 2024-01-22 14:50:01 +00:00
parent 157caf202e
commit d4adc7df28
3 changed files with 49 additions and 0 deletions

7
native/LICENSE Normal file
View File

@ -0,0 +1,7 @@
Copyright (c) 2024 Felix Pleşoianu <https://felix.plesoianu.ro/>.
Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the “Software”) to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

9
native/NEWS.md Normal file
View File

@ -0,0 +1,9 @@
# ToyEd Native news
## [1.0] - 2024-01-22
Ported from the Tcl/Tk edition.
### Added
* Line numbers

33
native/README.md Normal file
View File

@ -0,0 +1,33 @@
# About ToyEd Native
> A toy text editor in C++ and FLTK for educational purposes.
ToyEd is a toy text editor made for fun and learning. It's not meant for serious use, but rather to be studied and built upon.
ToyEd is written in 550 lines of C++ (see below), but has many expected features:
- GUI controls
- keyboard operation
- line and word count
- formatting functions
- display options
ToyEd Native is open source under the Boost license. See the included file.
As of 22 January 2024, the code seems to work right, but hasn't been tested much. Please back up your data.
The user interface should be fairly obvious.
## System requirements
Building ToyEd Native from source requires a C++11 compiler and the FLTK library. A makefile is included, but it does little more than
g++ -o toyed -lfltk main.cpp
Minimum screen resolution: 800x600. Recommended: 1024x768.
## Credits and support
ToyEd Native is a port of the original text editor written in Tcl/Tk. It shares most of the same features and overall design.
You can usually find me on IRC, in the #ctrl-c channel of tilde.chat, or else as @notimetoplay on the elekk.xyz Mastodon instance. Would love to hear from you.