https://github.com/sprinfall/jil
A text editor for C++ study purpose.
https://github.com/sprinfall/jil
c-plus-plus cmake editor text-editor wxwidgets wxwidgets-applications
Last synced: 4 months ago
JSON representation
A text editor for C++ study purpose.
- Host: GitHub
- URL: https://github.com/sprinfall/jil
- Owner: sprinfall
- Created: 2014-08-13T08:38:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T16:24:22.000Z (almost 4 years ago)
- Last Synced: 2024-03-21T02:31:21.638Z (almost 2 years ago)
- Topics: c-plus-plus, cmake, editor, text-editor, wxwidgets, wxwidgets-applications
- Language: C++
- Homepage:
- Size: 6.03 MB
- Stars: 15
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jil Text
**NOTE: This project is only for study purpose and it's dead. I will not push any update. Sorry!**
Yet another text editor developed with C++ and wxWidgets.

## Advantages
* Cross platform (Windows, Linux and Mac).
* Intuitive and beautiful interface.
* Low memory usage, super fast.
* GUI based configuration: support both global and file type specific options.
* Extensible indent functions using Lua script.
## Disadvantages
* No plugin support.
* No resources, no documentation.
## Build Instructions
The build system of Jil Text is based on CMake, with which you can generate Visual Studio solution, XCode project or Unix makefiles.
### Linux (Ubuntu)
**CMake**
```
$ sudo apt install cmake cmake-qt-gui
```
The GUI version "cmake-qt-gui" is optional.
**C++ Boost Library**
```
$ sudo apt install libboost-dev
```
**wxWidgets**
Install with apt:
```
$ sudo apt install libwxgtk3.0-dev
```
Or download the source code and build it yourself:
```
$ ./configure --with-gtk=3 --disable-shared
$ make
$ sudo make install
```
**Generate Makefiles**
Suppose the source code is cloned to ~/jil, create a build directory next to it:
```
$ mkdir ~/jilbuild
```
Generate Unix makefiles with CMake:
```
$ cd ~/jilbuild
$ cmake -G"Unix Makefiles" -DCMAKE_INSTALL_PREFIX=~/jilbuild/src/app ../jil
```
**Build & Install**
Now build it with make:
```
$ make
```
Note that CMAKE_INSTALL_PREFIX is set to the directory where the executable file is located. The resource files will also be installed to this directory by:
```
$ make install
```
You may want to create a symbolic link in ~/bin to the executable:
```
$ ln -s ~/jilbuild/src/app/jil ~/bin/jil
```