Text editor in rust
Go to file
Adrian Woźniak 0380e3c9fd
Scroll and scrollbars (#14)
* Refactor, add tests for scroll related parts

* Add calculate text widget size and some boundaries logic

* Add appveyor config file

* Vertical bar

* Add horizontal scroll bar and fix click target

* Test scrolls

* Format code

* Fix scroll with different file content and window size

* Format code, updare readme

* Fix tests
2019-01-08 20:16:58 +01:00
.circleci Add circleci and codecov (#13) 2019-01-07 21:46:01 +01:00
assets Improve highlights, add icons files 2019-01-05 09:58:17 +01:00
guitest Add circleci and codecov (#13) 2019-01-07 21:46:01 +01:00
src Scroll and scrollbars (#14) 2019-01-08 20:16:58 +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 Add circleci and codecov (#13) 2019-01-07 21:46:01 +01:00
Cargo.toml Add circleci and codecov (#13) 2019-01-07 21:46:01 +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