Text-Editor

所属分类:代码编辑器
开发工具:C
文件大小:10698KB
下载次数:0
上传日期:2020-07-05 09:55:23
上 传 者sh-1993
说明:  一个使用纯C和SDL2编程的简单文本编辑器。
(A simple text editor programmed using pure C and SDL2.)

文件列表:
.vs (0, 2020-07-05)
.vs\Text_Editor (0, 2020-07-05)
.vs\Text_Editor\v16 (0, 2020-07-05)
.vs\Text_Editor\v16\.suo (33792, 2020-07-05)
.vs\Text_Editor\v16\Browse.VC.db (14237696, 2020-07-05)
.vs\Text_Editor\v16\ipch (0, 2020-07-05)
.vs\Text_Editor\v16\ipch\AutoPCH (0, 2020-07-05)
.vs\Text_Editor\v16\ipch\AutoPCH\4e435b0ca3f8d196 (0, 2020-07-05)
.vs\Text_Editor\v16\ipch\AutoPCH\4e435b0ca3f8d196\MAIN.ipch (17301504, 2020-07-05)
.vs\Text_Editor\v16\ipch\AutoPCH\64d8bd1c81a0ef5f (0, 2020-07-05)
.vs\Text_Editor\v16\ipch\AutoPCH\64d8bd1c81a0ef5f\BASIC_SDL2.ipch (2883584, 2020-07-05)
Debug (0, 2020-07-05)
Debug\CodeAnalysisResultManifest.txt (76, 2020-07-05)
Debug\Text_Editor.Build.CppClean.log (535, 2020-07-05)
Debug\Text_Editor.log (782, 2020-07-05)
Debug\Text_Editor.pdb (67584, 2020-07-05)
Debug\Text_Editor.tlog (0, 2020-07-05)
Debug\Text_Editor.tlog\CL.command.1.tlog (616, 2020-07-05)
Debug\Text_Editor.tlog\CL.read.1.tlog (12282, 2020-07-05)
Debug\Text_Editor.tlog\CL.write.1.tlog (240, 2020-07-05)
Debug\Text_Editor.tlog\Text_Editor.lastbuildstate (144, 2020-07-05)
Debug\Text_Editor.tlog\link-cvtres.read.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link-cvtres.write.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link-rc.read.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link-rc.write.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.1508-cvtres.read.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.1508-cvtres.write.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.1508-rc.read.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.1508-rc.write.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.1508.read.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.1508.write.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.command.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.read.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\link.write.1.tlog (2, 2020-07-05)
Debug\Text_Editor.tlog\unsuccessfulbuild (0, 2020-07-05)
Debug\Text_Editor.vcxproj.FileListAbsolute.txt (74, 2020-07-05)
Debug\main.nativecodeanalysis.sarif (63687, 2020-07-05)
Debug\main.nativecodeanalysis.xml (58, 2020-07-05)
Debug\main.obj (24858, 2020-07-05)
... ...

# Text Editor ### A simple Text Editor programmed using pure C and SDL2 library. ## SDL2 Simple DirectMedia Layer(SDL) is a cross-platform software development library designed to provide a hardware abstraction layer for computer multimedia hardware components. The library is internally written in C and possibly, depending on the target platform, C++ or Objective-C, and provides the application programming interface in C, with bindings to other languages available. It is free and open-source software. ## Features - Single translation unit build - Collapsing two lines into one (when it is possible) - A blinking cursor - Horizontal Scrolling - Back spacing - Mono spaced Bitmap font for displaying Text - Word wrapping - No word wrapping when there are no spaces If the length of the word typed is greater than the screen width, that is, if there are no spaces then the wrapping of word will not take place. ## Preview - Showing word wrapping and Collapsing two lines into one (when it is possible) ![vid](https://github.com/ankita841/Text-Editor/blob/master/demo1.gif) - Showing no word wrapping when there are no spaces ![vid](https://github.com/ankita841/Text-Editor/blob/master/demo2.gif) ## Tech Stack - C Language - SDL2 - SDL2 image ## Setting up SDL Refer the link to set up SDL library on your system. https://www.cprogramming.com/tutorial/sdl/setup.html ## Tips(Optional) Use **Visual studio 2019** for programming.

近期下载者

相关文件


收藏者