Commit Graph

18 Commits (17619108777e7fbed092dec3ab746bd85d5a794a)

Author SHA1 Message Date
sebashwa 25d032319e Rename cannot_go_* functions to cannot_move_*
To be more consistent with wording.
2 years ago
sebashwa 468611de70 Implement <Ctrl-d> for char deletion under cursor
In inputs
2 years ago
sebashwa 2af554341b Implement <Alt-d> to forward delete words in input
Until a non alphanumeric char.
2 years ago
sebashwa 195dc95a1b Implement <Alt-f> to move forwards in inputs
Until the next occurence of a nonalphanumeric char.
2 years ago
sebashwa f108b28d5f Add <Alt-b> for input navigation
Move backwards until first non alphanumeric occurence.
2 years ago
sebashwa f090dd07d5 Allow input navigation with <Ctrl-f> and <Ctrl-b> 2 years ago
sebashwa fff86b95d1 Add alt backspace keybinding for inputs
This deletes in the left direction until a non alphanumeric character is
found.
2 years ago
sebashwa 221d10ee91 Introduce helper methods for input key safeguards 2 years ago
sebashwa a55f0fe3e7 Change interface for moving cursor to whitespace 2 years ago
sebashwa 898424209b Add delete word for inputs
<Ctrl-w> deletes the input from the current cursor position up to the
first occurence of a whitespace before the current position.
2 years ago
sebashwa 1d0b79ec48 Use early returns in input util key matching 2 years ago
sebashwa ffe5ce2166 Add happy path tests for input key handling 2 years ago
sebashwa 96680c2afb Add new util input helper
Most of the input logic was duplicated in three places as of now:

* Database filter input
* SQL Editor
* Table filter

This is done in preparation for adding more cursor movement
functionality for inputs.
2 years ago
Takayuki Maeda 4a3d32cf9b fix clippy warnings 3 years ago
Takayuki Maeda 6bc3afef12 move table_status under table 3 years ago
Takayuki Maeda 3c00d78326
Implement Help component (#32)
* implement help compoment

* fix database filter

* add column types

* fix clippy warnings

* help scrolling

* panic if type is not implemented yet

* not panic but return error

* add decimal

* add a test for get_text

* fix clippy warnings
3 years ago
Takayuki Maeda 98ca815c68
Filter records (#24)
* filter records

* refactor components event

* fix scrollbar style

* remove unneeded doc

* fix event order and table filter cursor

* fix and enhance databases filter
3 years ago
Takayuki Maeda acac235c6e
Implement DatabaseTree (#10)
* remove unused functions

* remove unused functions

* use databasetree

* update gobang.gif

* refactor

* remove unused dependencies

* fix header's and row's default style
3 years ago