Giter VIP home page Giter VIP logo

a-simple-text-editor's Introduction

Build your own X: a Simple Text Editor

这个库是一个指南,用于介绍如何使用C++ ,从头开始动手去设计实现一个基于FLTK的文本编辑器。

使用

代码目录为:

E:.
├─include         // FLTK库的头文件
│  └─FL 
├─lib             // FLTK库的静态链接库
└─src             // 主函数
└─CMakeLists.txt  // cmake配置文件

使用方式:

md build
cd build
cmake ..
cmake --build .
# 运行结束后,可以在主目录下看到 bin 文件夹,里面有可运行的二进制文件

运行后的截图为:

项目说明

这个项目是根据FLTK库官方说明文档构建的C++项目,因此对于初次使用C++编写工程项目、学习C++语法、学习如何进行GUI编程等人员有较大帮助。通过本项目,我们要完成一个文本编辑器:

  • 提供菜单栏和功能选项
  • 编辑单个文本文件
  • 加载(open)文件并编辑
  • 保存(save)文件
  • 具备剪切/复制/删除/粘贴等功能
  • 具备搜索替换功能
  • 跟踪文件的更改时间

详细设计

待更新。。。

参考

a-simple-text-editor's People

Contributors

ccowzh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.