Text editor in rust
Go to file
Adrian Woźniak c2e1369738
Gh 3/open file (#15)
* Remove unused imports

Start FileSystem UI

Fix formating

Add textures for dir and file, implement prepare_ui, render, update and open directory

Display choose file

Display files and directories

Format code

Expand and collapse directories, open file

Format code

Fix calculating size of directory and displaying children

Refactor render open file modal

Format code

Scroll file tree

Format code

Refactor open file modal

Fix CI

Fix some tests, add more tests, fix formatting

Fix CI test run

Fix CI test run

* Add more tests

* Add more tests

* More tests

* More tests

* Fix caret position

* Add simple string matching

* Fixing add characters

* Fix themes images

* Simplify

* Simplify

* Simplify

* Fix some problems

* Fix race conditions in tests

* Format code

* Format code
2019-02-27 17:59:57 +01:00
.circleci Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
guitest Add circleci and codecov (#13) 2019-01-07 21:46:01 +01:00
rider-config Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
rider-editor Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
rider-generator Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
rider-lexers Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
rider-themes Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
scripts Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
src Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
test_files Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
.codecov.yml Add circleci and codecov (#13) 2019-01-07 21:46:01 +01:00
.gitignore Add circleci and codecov (#13) 2019-01-07 21:46:01 +01:00
Cargo.lock Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
Cargo.toml Gh 3/open file (#15) 2019-02-27 17:59:57 +01:00
LICENSE Initial commit 2019-01-03 10:39:58 +01:00
README.md Scroll and scrollbars (#14) 2019-01-08 20:16:58 +01:00

codecov CircleCI

rider

Text editor in rust

Build

curl https://sh.rustup.rs -sSf | sh
sudo apt-get install -q -y libsdl2-dev libsdl2-2.0-0 libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
rustup run nightly cargo build

Road map

v1.0

  • Basic lexer based highlight
  • Scrolling
  • Handle click based caret movement
  • Handle caret movement with arrow keys
  • Add text content
  • Open file menu
  • Save file with button
  • Save file with shortcut
  • Save file as... with shortcut
  • Theme based menu UI
  • Lock scroll when no available content
  • Config edit menu
  • Project tree
  • Cover rider with tests at least 50%
  • Handle resize window
  • Selection

v1.1

  • Debugger
  • Open file from CLI
  • Tabs
  • Git support
  • Context menu
  • Keep indent
  • Multi-selection
  • Cover rider with tests at least 75%

v1.2

  • Multi-caret
  • Projects menu